summaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2001-04-08 23:22:32 +0000
committerjmz <jmz@FreeBSD.org>2001-04-08 23:22:32 +0000
commitd10e176cf3d988b95e43178b7eaa6d7db5e5d0c2 (patch)
tree449b7e9fa66363f1a5ae3f4b4230a217bf8e7f39 /emulators
parentddf9e1488f992b51a6ad515454febaccaffb8233 (diff)
downloadFreeBSD-ports-d10e176cf3d988b95e43178b7eaa6d7db5e5d0c2.zip
FreeBSD-ports-d10e176cf3d988b95e43178b7eaa6d7db5e5d0c2.tar.gz
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>)
Diffstat (limited to 'emulators')
-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 7b4cb71..c52387b 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
OpenPOWER on IntegriCloud