dossrv, 9660srv, dosmnt, eject – DOS and ISO9660 file systems
is a file server that interprets DOS file systems.
A single instance of
can provide access to multiple DOS disks simultaneously.
posts a file descriptor named
To access the DOS file system on a device, use
the name of the file holding raw DOS file system, typically the disk.
is undefined in the
as the default name for the device holding the DOS system.
creates a pipe to act as the communications channel between
itself and its clients.
to use its standard input and output instead.
The kernels use this option if they are booting from a DOS disk.
This flag also prevents the creation of an explicit service file in
flag causes verbose output for debugging, while
flag makes the file system read-only.
The file attribute flags used by the DOS file system
do not map directly to those used by Plan 9.
Since there is no concept of user or group,
permission changes via
will fail unless the same (read, write, execute) permissions
are specified for user, group, and other.
For example, removing write permission in Plan 9
corresponds to setting the read-only
attribute in the DOS file system.
Most of the other DOS attributes
are not accessible.
Setting the exclusive use flag (DMEXCL)
in Plan 9 corresponds to setting the
system use attribute in the DOS file system.
Such files are not actually restricted to exclusive use,
but do merit special treatment that
helps in the creation of boot disks:
allocates a new block for such a file
(caused, say, by a write that fills the file’s
last allocated block), it succeeds only if it can
arrange for the file to be stored
contiguously on disk.
Since other operating systems do not
guarantee that system files are laid
out contiguously, the DMAPPEND mode
bit is set in file stat information
only when the file is currently contiguous.
Attempts to set the DMAPPEND mode bit
explicitly will cause
to try to make the file contiguous,
succeeding only if this is possible.
is similar to
in specification, except that it interprets ISO9660 CD-ROM
file systems instead of DOS file systems.
Some CDs contain multiple directory trees describing
the same set of files.
first choice in such a case is a standard ISO9660 tree
with Plan 9 system use fields;
the second choice is a Microsoft “Joliet” tree, which
allows long file names and Unicode characters;
the third choice is a standard ISO9660 or High Sierra tree.
to ignore the Plan 9 system use fields,
flag causes it to
ignore the Joliet tree.
option sets the size of the RAM cache to
clusters of 128KB.
but a value of 5600 will cache an entire CD incrementally.
If the floppy drive has an ejection motor,
will spit out the floppy from drive
The overloading of the semantics of
the DMEXCL and DMAPPEND
bits can be confusing.