Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 May 1997 00:01:25 +1000 (EST)
From:      phillip@rmit.edu.au
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/3455: mtools-3.6.tgz could have a better mtools.conf file
Message-ID:  <199705011401.AAA22995@mirriwinni.cse.rmit.edu.au>
Resent-Message-ID: <199705011410.HAA25615@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3455
>Category:       ports
>Synopsis:       mtools-3.6.tgz could have a better mtools.conf file
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Class:          support
>Submitter-Id:   current-users
>Arrival-Date:   Thu May  1 07:10:01 PDT 1997
>Last-Modified:
>Originator:     Phillip Musumeci
>Organization:
RMIT Computer Systems Engineering
>Release:        reeBSD 2.2.1-RELEASE i386
>Environment:

	FreeBSD 2.2.1 system with mtools-3.6 installed

>Description:

	The mtools.conf file in /usr/local/etc doesn't have FreeBSD settings

>How-To-Repeat:

	

>Fix:
	
	Here is an example of /usr/local/etc/mtools.conf that has some
	settings relevant to FreeBSD, including 1.7M floppies and the PCEMU
	boot floppy image.  Maybe this would be OK to distribute.



# 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 a disk such as a floppy via commands such as
#     chmod a+rw /dev/fd0
# or you might give specific group members access via commands such as
#     chmod g+rw /dev/fd0 ; chgrp staff /dev/fd0
# (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/fd0.1440
#   [2] write a file system with ...... mkdosfs -f 1440 /dev/fd0
#   [3] then use mcopy/mdir etc. in the usual way.
#
# The mformat command could also be used to build the DOS file system
# in place of mkdosfs.
drive a: file="/dev/fd0"
drive b: file="/dev/fd1"

# 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/fd0.1720 as well.
drive t: file="/dev/fd0.1720"

# SCSI hard disks
#  first disk (sd0) slice 1 (s1)
#drive c: file="/dev/sd0s1"

# IDE hard disks
#   first disk on the first IDE interface (wd0) slice 1 (s1)
drive c: file="/dev/wd0s1"
#   first disk on the first IDE interface (wd0) slice 3 (s3)
#drive d: file="/dev/wd0s3"
#  second disk on the first IDE interface (wd1) slice 1 (s1)
#drive d: file="/dev/wd1s1"
#  first disk on the second IDE interface (wd2) slice 1 (s1)
drive d: file="/dev/wd2s1"

# PCEMU floppy boot image
drive p: file="/usr/local/lib/pcemu/DriveA"

# # Atari ramdisk image
# drive o: file="/tmp/atari_rd" offset=136

# # ZIP disk for Solaris:
# Drive X is ZIP-100 at target 5
# drive X: file="/dev/rdsk/c0t5d0s2" partition=4 scsi=1 nodelay

# # ZIP disk for SunOS:
# # Zip drive is at target 5, which default kernel calls tape st1 !!
# drive Y: file="/dev/rsd5c" partition=4 scsi=1 nodelay

# # autoselect zip drive/floppy on HP-UX 9/10
#    drive a: file="/dev/rdsk/c201d5"      exclusive partition=4
#    drive a: file="/dev/rdsk/c201d5s0"    exclusive partition=4
#    drive a: file="/dev/rfloppy/c201d0s0" exclusive

#          A/UX target 5 on 1st scsi bus   jaz or zip
# drive X: file="/dev/rdsk/c105d0s31"      partition=4


# Some examples for BeOS.
# floppy drive. hardcoded in devices.c, so no real need to define it here
#drive a: file="/dev/floppy_disk" exclusive
# ZIP drive on SCSI ID 6
#drive z: file="/dev/scsi_disk_060" offset=16384 fat_bits=16                        

mtools_lower_case=1

# end of file /usr/local/etc/mtools.conf
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705011401.AAA22995>