Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jul 1999 15:14:16 -0700 (PDT)
From:      phillip@mirriwinni.cse.rmit.edu.au
To:        freebsd-gnats-submit@freebsd.org
Subject:   conf/12700: Errors in mtools.conf file
Message-ID:  <19990718221416.43DA814BFD@hub.freebsd.org>

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

>Number:         12700
>Category:       conf
>Synopsis:       Errors in mtools.conf file
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 18 15:20:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Phillip Musumeci
>Release:        3.1-RELEASE and 3.2-RELEASE
>Organization:
RMIT Uni
>Environment:
FreeBSD josephine.net.at.home 3.2-RELEASE FreeBSD 3.2-RELEASE #0: Sun Jul 18 13:50:21 EST 1999     phillip@josephine.net.at.home:/usr/src/sys/compile/barton  i386

>Description:
1) mtools.conf suggests changing permission on the /dev/fd device
   which has NOTHING to do with floppy disks or hard disks.
2) examples mention mkdosfs which has been replaced by newfs_msdos.
>How-To-Repeat:

>Fix:
josephine# diff --context /usr/local/etc/mtools.conf.orig /usr/local/etc/mtools.conf
*** /usr/local/etc/mtools.conf.orig     Sun Jul 11 00:48:49 1999
--- /usr/local/etc/mtools.conf  Mon Jul 19 08:03:51 1999
***************
*** 5,11 ****
  # 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*
  #
  # or you might give SPECIFIC GROUP MEMBERS access to a PARTICULAR FLOPPY DISK
  # via the commands
--- 5,11 ----
  # 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[0-9]* /dev/rfd[0-9]*
  #
  # or you might give SPECIFIC GROUP MEMBERS access to a PARTICULAR FLOPPY DISK
  # via the commands
***************
*** 19,29 ****
  #
  # Example: To prepare drive A: for use as a 1.44M floppy on FreeBSD:
  #   [1] low level format with ......... fdformat /dev/rfd0.1440
! #   [2] write a file system with ...... mkdosfs -f 1440 /dev/rfd0
  #   [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.
  
  # # FreeBSD floppy drives
  drive a: file="/dev/rfd0"
--- 19,31 ----
  #
  # Example: To prepare drive A: for use as a 1.44M floppy on FreeBSD:
  #   [1] low level format with ......... fdformat /dev/rfd0.1440
! #   [2] write a file system with
! #                   on FreeBSD 3.x .... newfs_msdos -f 1440 /dev/rfd0
! #                   on FreeBSD 2.x .... mkdosfs -f 1440 /dev/rfd0
  #   [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 newfs_msdos.
  
  # # FreeBSD floppy drives
  drive a: file="/dev/rfd0"
***************
*** 47,53 ****
  #
  # Example: To prepare and use a 720K floppy on FreeBSD:
  #   [1] low level format with ......... fdformat /dev/rfd0.720
! #   [2] write a file system with ...... mkdosfs -f 720 /dev/fd0
  #   [3] then use mcopy/mdir etc. in the usual way.
  #
  drive s: file="/dev/rfd0.720"
--- 49,55 ----
  #
  # Example: To prepare and use a 720K floppy on FreeBSD:
  #   [1] low level format with ......... fdformat /dev/rfd0.720
! #   [2] write a file system with ...... newfs_msdos -f 720 /dev/fd0
  #   [3] then use mcopy/mdir etc. in the usual way.
  #
  drive s: file="/dev/rfd0.720"


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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