SCO OpenServer Handbook
Chapter 7, Using other operating systems with an SCO system

Mounting DOS filesystems or partitions

Mounting DOS filesystems or partitions

You can mount DOS filesystems, including those on floppy disks, and access their files while still operating from the UNIX partition. 


NOTE: You must add support for DOS filesystems to the kernel before you can mount DOS filesystems. See ``Adding support for different filesystem types'' in the System Administration Guide for more information.

You can mount DOS filesystems from the Filesystem Manager after adding them to the mount configuration as described in ``Adding and removing mount configuration'' in the System Administration Guide. You must use the device names shown in Table 7-2, ``DOS device names'' or create the nodes described in ``Accessing DOS partitions on a second disk'' For information on the behavior of DOS filesystems, see ``About mounting DOS filesystems'' in the System Administration Guide.

You can also mount these partitions manually using the mount(ADM) command. The form for a DOS filesystem mount command is:

mount -r -f DOS /dev/dsk/xsy /mountpoint

where:

x
is the hard disk number

y
is the drive letter (for example, C:, D:)

mountpoint
is the name of the directory in the root filesystem where the DOS filesystem is to be mounted.

The -r flag mounts the filesystem read-only, an optional precaution that will prevent damage to the DOS filesystem (which is not as robust as other filesystems.

DOS automatically calls the primary DOS drive, on the first disk, C:. If you have a primary DOS partition on the second disk this becomes D:, automatically, and logical drives on extended partitions are named in order (for example disk0 Primary C: EXT E: F: G: H:, disk1 Primary D: EXT I: J:). Table 7-2 lists these device names under DOS and SCO systems.



Table 7-2 DOS device names

 DOS    C:    D:    E:    F:    G:    H:    I:    J:
 UNIX   0sC   1sC   0sD   0sE   0sF   0sG   1sD   1sE


NOTE: When using mount, you must give the specific hard disk and partition numbers (wildcards are not allowed).