From nobody@FreeBSD.ORG Sun Jul 18 15:14:16 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 43DA814BFD; Sun, 18 Jul 1999 15:14:16 -0700 (PDT)
Message-Id: <19990718221416.43DA814BFD@hub.freebsd.org>
Date: Sun, 18 Jul 1999 15:14:16 -0700 (PDT)
From: phillip@mirriwinni.cse.rmit.edu.au
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: Errors in mtools.conf file
X-Send-Pr-Version: www-1.0

>Number:         12700
>Category:       ports
>Synopsis:       Errors in mtools.conf file
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jmz
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 18 15:20:00 PDT 1999
>Closed-Date:    Wed Dec 29 00:19:48 PST 1999
>Last-Modified:  Wed Dec 29 00:21:27 PST 1999
>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:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ports  
Responsible-Changed-By: cpiazza 
Responsible-Changed-When: Sun Jul 18 15:28:13 PDT 1999 
Responsible-Changed-Why:  
Misfiled PR 
State-Changed-From-To: open->closed 
State-Changed-By: n_hibma 
State-Changed-When: Sun Jul 18 23:52:36 PDT 1999 
State-Changed-Why:  
John Polstra forgot to close it yesterday. 
State-Changed-From-To: closed->open 
State-Changed-By: n_hibma 
State-Changed-When: Sun Jul 18 23:53:04 PDT 1999 
State-Changed-Why:  
I wanted to cahnge 10-165 not 12700 
Responsible-Changed-From-To: freebsd-ports->jmz 
Responsible-Changed-By: steve 
Responsible-Changed-When: Sat Jul 31 19:19:29 PDT 1999 
Responsible-Changed-Why:  
Over to maintainer. 
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Wed Dec 29 00:19:48 PST 1999 
State-Changed-Why:  
Committed, thanks! 
>Unformatted:
