Administering filesystems

About mounting DOS filesystems

In addition to manipulating DOS files with the DOS utilities provided with the operating system, you can mount a DOS filesystem and access its files freely while still operating from your UNIX system.

NOTE: The ability to mount DOS filesystems is available, regardless of whether you have a DOS emulator program installed.

When you mount a DOS filesystem, you can edit, examine, or copy DOS data and text files, without first copying them into the UNIX filesystem. However, you cannot execute DOS files and applications from a mounted DOS filesystem. To do this, you must run NeTraverse Merge or boot DOS from a DOS partition.

If you use the DOS utilities on a mounted DOS filesystem, you see this error:

   dosdir: FAT not recognized on /dev/dsk/0sC

In addition, you cannot create DOS filesystems using the mkfs(ADM) command. The DOS mounting feature is intended for existing DOS filesystems (on a floppy disk or on an existing DOS partition).

The UNIX operating system handles mounted DOS filesystems, without actually changing the files, by superimposing certain qualities of UNIX system filesystems on the DOS filesystem. UNIX filesystems are highly structured and operate in a multiuser environment. Thus, many UNIX filesystem concepts do not apply to DOS, including:

To make DOS files readily accessible, the UNIX system superimposes access permissions and file ownership on the DOS filesystem when you mount it. See ``DOS filesystems and access permissions''.

Because no changes are made to the DOS files, the carriage return character (^M) is visible when you edit a DOS file on a UNIX system. (UNIX systems use only a newline character; DOS uses both a carriage return and a newline.) To switch the end-of-line from DOS format to UNIX system format, use dtox(C). To switch back to UNIX system format, use xtod(C). See ``Displaying a DOS file'' and ``Converting DOS files to and from UNIX system file format''.

See also:

DOS filesystems and access permissions

Only root and users with filesystem authorization can mount filesystems, including DOS filesystems.

A user's access to a mounted DOS filesystem is determined by the permissions and ownership that root places on the filesystem.

When DOS files are mounted on a UNIX system:

DOS filesystem limitations

The following limitations apply when accessing files on a mounted DOS filesystem:

See also:

Next topic: Creating filesystems on floppy disks
Previous topic: Mounting and unmounting filesystems

© 2007 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 05 June 2007