1999-12-29 08:21:12 +00:00
|
|
|
--- mtools.conf.orig Sun Jan 4 03:29:32 1998
|
|
|
|
+++ mtools.conf Tue Dec 28 12:57:49 1999
|
1998-05-07 09:52:37 +00:00
|
|
|
@@ -1,6 +1,74 @@
|
1998-05-07 01:59:27 +00:00
|
|
|
# Example mtools.conf files. Uncomment the lines which correspond to
|
|
|
|
# your architecture and comment out the "SAMPLE FILE" line below
|
|
|
|
-SAMPLE FILE
|
1998-05-07 09:52:37 +00:00
|
|
|
+
|
1997-09-27 22:48:05 +00:00
|
|
|
+# A note on permissions: a user must have read and write permissions for the
|
|
|
|
+# devices named here in order to access the DOS file systems. You might give
|
|
|
|
+# ALL USERS access to ALL FLOPPY DISKS via the command
|
|
|
|
+#
|
1999-12-29 08:21:12 +00:00
|
|
|
+# chmod a+rw /dev/*fd* /dev/rfd[0-9]*
|
1997-09-27 22:48:05 +00:00
|
|
|
+#
|
|
|
|
+# or you might give SPECIFIC GROUP MEMBERS access to a PARTICULAR FLOPPY DISK
|
|
|
|
+# via the commands
|
|
|
|
+#
|
|
|
|
+# chmod g+rw /dev/rfd0 ; chgrp staff /dev/rfd0
|
|
|
|
+#
|
|
|
|
+# (and ensure selected people are in a group such as staff).
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+# Floppy disks. Here, A: and B: use automatic size detection.
|
|
|
|
+#
|
|
|
|
+# Example: To prepare drive A: for use as a 1.44M floppy on FreeBSD:
|
|
|
|
+# [1] low level format with ......... fdformat /dev/rfd0.1440
|
1999-12-29 08:21:12 +00:00
|
|
|
+# [2] write a file system with ...... newfs_msdos -f 1440 /dev/rfd0
|
1997-09-27 22:48:05 +00:00
|
|
|
+# [3] then use mcopy/mdir etc. in the usual way.
|
|
|
|
+#
|
|
|
|
+# The mformat command could also be used to build the DOS file system
|
1999-12-29 08:21:12 +00:00
|
|
|
+# in place of newfs_msdos.
|
1998-05-07 09:52:37 +00:00
|
|
|
+
|
|
|
|
+# # FreeBSD floppy drives
|
1997-08-22 23:03:38 +00:00
|
|
|
+drive a: file="/dev/rfd0"
|
|
|
|
+drive b: file="/dev/rfd1"
|
1998-05-07 09:52:37 +00:00
|
|
|
+
|
1997-09-27 22:48:05 +00:00
|
|
|
+# Drive T: is a 1.72M floppy format with 80 cylinders, double sided (2 heads),
|
|
|
|
+# and 43 sectors of size 256 bytes per track. It uses the same
|
|
|
|
+# floppy disk drive (fd0) as drive A: above.
|
|
|
|
+#
|
|
|
|
+# Example: To prepare and use a 1.72M floppy on FreeBSD:
|
|
|
|
+# [1] low level format with ......... fdformat /dev/rfd0.1720
|
|
|
|
+# [2] write a file system with ...... mformat -t 80 -h 2 -s 43 -S 1 t:
|
|
|
|
+# [3] then use mcopy/mdir etc. in the usual way.
|
|
|
|
+#
|
|
|
|
+# The above note on access permissions applies to /dev/rfd0.1720 as well.
|
|
|
|
+drive t: file="/dev/rfd0.1720"
|
1998-05-07 09:52:37 +00:00
|
|
|
+
|
1997-09-27 22:48:05 +00:00
|
|
|
+# Drive S: is a 720K floppy format with 80 cylinders, double sided (2 heads),
|
|
|
|
+# and 43 sectors of size 256 bytes per track. It uses the same
|
|
|
|
+# floppy disk drive (fd0) as drive A: above.
|
|
|
|
+#
|
|
|
|
+# Example: To prepare and use a 720K floppy on FreeBSD:
|
|
|
|
+# [1] low level format with ......... fdformat /dev/rfd0.720
|
1999-12-29 08:21:12 +00:00
|
|
|
+# [2] write a file system with ...... newfs_msdos -f 720 /dev/fd0
|
1997-09-27 22:48:05 +00:00
|
|
|
+# [3] then use mcopy/mdir etc. in the usual way.
|
|
|
|
+#
|
|
|
|
+drive s: file="/dev/rfd0.720"
|
1998-05-07 09:52:37 +00:00
|
|
|
+
|
1997-09-27 22:48:05 +00:00
|
|
|
+# SCSI hard disks
|
|
|
|
+# first disk (sd0) slice 1 (s1)
|
|
|
|
+#drive c: file="/dev/rsd0s1"
|
1997-08-22 23:03:38 +00:00
|
|
|
+
|
1997-09-27 22:48:05 +00:00
|
|
|
+# IDE hard disks
|
|
|
|
+# first disk on the first IDE interface (wd0) slice 1 (s1)
|
|
|
|
+drive c: file="/dev/rwd0s1"
|
|
|
|
+# first disk on the first IDE interface (wd0) slice 3 (s3)
|
|
|
|
+#drive d: file="/dev/rwd0s3"
|
|
|
|
+# second disk on the first IDE interface (wd1) slice 1 (s1)
|
|
|
|
+#drive d: file="/dev/rwd1s1"
|
|
|
|
+# first disk on the second IDE interface (wd2) slice 1 (s1)
|
|
|
|
+drive d: file="/dev/rwd2s1"
|
1998-05-07 09:52:37 +00:00
|
|
|
+
|
1997-09-27 22:48:05 +00:00
|
|
|
+# PCEMU floppy boot image
|
|
|
|
+drive p: file="/usr/local/lib/pcemu/DriveA"
|
1998-05-07 09:52:37 +00:00
|
|
|
+
|
1997-08-22 23:03:38 +00:00
|
|
|
|
1998-05-07 09:52:37 +00:00
|
|
|
# # Linux floppy drives
|
|
|
|
# drive a: file="/dev/fd0" exclusive
|
|
|
|
@@ -61,4 +129,4 @@
|
1998-05-07 01:59:27 +00:00
|
|
|
|
|
|
|
# # uncomment the following line to display all file names in lower
|
|
|
|
# # case by default
|
|
|
|
-# mtools_lower_case=1
|
|
|
|
+mtools_lower_case=1
|