DFS(4) —
NAME
dfs − dos file system
SYNOPSIS
options DFS
DESCRIPTION
The DOS file system allows IBM/4.3 to mount devices with DOS or OS/2 format file systems. Filenames, attributes, and dates are mapped between IBM/4.3 format and DOS format by the filesystem code. This mapping is controlled by mount(8) options specific to dfs. Dfs is typically used to mount DOS format floppys, and DOS file systems on the hard disk. Hard disk file systems are accessed by the h device. Files are read and written without carriage control translation. The following scripts can be used to add and remove DOS carriage control:
addcarriage:
#! /bin/sh
# usage: addcarriage ibm43_file dos_file
# ^M is enter to the editor by <CTRL>-V <CTRL>-M.
sed -e ´s;$;\^M;´ $1 > $2
rmcarriage:
#! /bin/sh
# usage: addcarriage dos_file ibm43_file
# ^M is enter to the editor by <CTRL>-V <CTRL>-M.
sed -e ´s;$;\^M;´ $1 > $2
Dfs supports 12-bit and 16-bit FAT’s, DOS partition tables, and DOS extented partitions. Extended partitions are specified by a -<partition number> following the mount device. For example, /dev/hd0h-1 mounts the first extended partition on /dev/hd0h. -0 always specifies the primary partition, therefore /dev/hd0h and /dev/hd0h-0 specify the same filesystem.
To maintain file system consistency, dfs does not perform delayed or async writes to the file system.
BUGS
OS/2 and DOS buffers are not updated by writes to the DOS file system. There is no CHKDSK for IBM/4.3 to test DOS filesystem integrity at boot time.
SEE ALSO
PRPQs 5799-WZQ/5799-PFF: IBM/4.3 — December 1988