aboutsummaryrefslogtreecommitdiff
path: root/emulators/mtools
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2001-04-08 23:22:32 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2001-04-08 23:22:32 +0000
commit3cebb987ea55271307198644e56e6b7e6963c4b4 (patch)
tree7c1c3950765a32d5b08dd1110659b1fc6ea27fcc /emulators/mtools
parent9b4a890f3b3dfc5d8dbf064683fb218fc3f3a15a (diff)
downloadports-3cebb987ea55271307198644e56e6b7e6963c4b4.tar.gz
ports-3cebb987ea55271307198644e56e6b7e6963c4b4.zip
mtools.conf fixes:
- Use modern disk names (ad and da instead of rsd and rwd) - fix comment concerning chmod and floppy devices - add LS120 examples (submitted by Phillip Musumeci <phillip@mirriwinni.cse.rmit.edu.au>)
Notes
Notes: svn path=/head/; revision=41093
Diffstat (limited to 'emulators/mtools')
-rw-r--r--emulators/mtools/files/patch-230
1 files changed, 20 insertions, 10 deletions
diff --git a/emulators/mtools/files/patch-2 b/emulators/mtools/files/patch-2
index 7b4cb71ff4ac..c52387bb0324 100644
--- a/emulators/mtools/files/patch-2
+++ b/emulators/mtools/files/patch-2
@@ -1,6 +1,6 @@
---- mtools.conf.orig Sun Jan 4 03:29:32 1998
-+++ mtools.conf Tue Dec 28 12:57:49 1999
-@@ -1,6 +1,74 @@
+--- mtools.conf.orig Sun Jan 4 10:29:32 1998
++++ mtools.conf Mon Apr 9 01:14:50 2001
+@@ -1,6 +1,84 @@
# Example mtools.conf files. Uncomment the lines which correspond to
# your architecture and comment out the "SAMPLE FILE" line below
-SAMPLE FILE
@@ -9,7 +9,7 @@
+# devices named here in order to access the DOS file systems. You might give
+# ALL USERS access to ALL FLOPPY DISKS via the command
+#
-+# chmod a+rw /dev/fd* /dev/fd[0-9]*
++# chmod a+rw /dev/fd[0-9]*
+#
+# or you might give SPECIFIC GROUP MEMBERS access to a PARTICULAR FLOPPY DISK
+# via the commands
@@ -56,19 +56,29 @@
+#
+drive s: file="/dev/fd0.720"
+
++# LS120 (ATAPI) floppy disk (extra parameters allow easy mformat)
++#
++# -- Drive L: is an LS120 in 100MB mode (mdir shows 125967576 bytes capacity)
++#
++drive l: file="/dev/afd0" exclusive mformat_only cylinders=963 heads=8 sectors=32
++#
++# -- Drive M: is an LS120 in 1.4MB mode
++#
++drive m: file="/dev/afd0" exclusive mformat_only cylinders=80 heads=2 sectors=18
++
+# SCSI hard disks
+# first disk (sd0) slice 1 (s1)
-+#drive c: file="/dev/rsd0s1"
++#drive c: file="/dev/ad0s1"
+
+# IDE hard disks
+# first disk on the first IDE interface (wd0) slice 1 (s1)
-+drive c: file="/dev/rwd0s1"
++drive c: file="/dev/ad0s1"
+# first disk on the first IDE interface (wd0) slice 3 (s3)
-+#drive d: file="/dev/rwd0s3"
++#drive d: file="/dev/ad0s3"
+# second disk on the first IDE interface (wd1) slice 1 (s1)
-+#drive d: file="/dev/rwd1s1"
++#drive d: file="/dev/ad1s1"
+# first disk on the second IDE interface (wd2) slice 1 (s1)
-+drive d: file="/dev/rwd2s1"
++drive d: file="/dev/ad2s1"
+
+# PCEMU floppy boot image
+drive p: file="/usr/local/lib/pcemu/DriveA"
@@ -76,7 +86,7 @@
# # Linux floppy drives
# drive a: file="/dev/fd0" exclusive
-@@ -61,4 +129,4 @@
+@@ -61,4 +139,4 @@
# # uncomment the following line to display all file names in lower
# # case by default