Next: , Previous: , Up: Keywords   [Index]


6.2.27 MountDir

Syntax:

MountDir unix-path dos-path

Example:

MountDir /mnt/c c:\

This keyword is used to tell the Unix version of MsgEd TE how it can translate DOSish pathnames found in squish.cfg, fastecho.cfg or even msged.cfg files that are mounted via NFS, rumba or smbfs from a DOS, OS/2 or Windows machine.

Suppose you are having a message base that is stored in ‘c:\msgbase’ on your OS/2 or Windows machine. Also suppose that your complete C: drive on the OS/2 or Windows machine is mounted as /mnt/c on the UNIX machine. (The Windows machine and UNIX machine can be two distinct machines connected via network, or a single machine with multi boot, where UNIX can mount the OS/2 or DOS partitions).

You can then install MsgEd TE on the Unix machine and let it read in the same configuration files that are also used on the OS/2 or Windows machine. Simply put MountDir /mnt/c c:\ into your configuration file. When MsgEd TE is running on OS/2 or Windows, it will ignore the keyword, but when it is running on Unix, it will know how to translate the DOS-like filenames found in the corresponding configuration files into file names that are correct for the UNIX system.

Please note that you can have only one MountDir statement in the configuration file.