From chris@Shenton.Org  Mon Sep 15 07:30:01 2003
Return-Path: <chris@Shenton.Org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 85C4116A4BF
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 15 Sep 2003 07:30:01 -0700 (PDT)
Received: from Shenton.org (23.ebbed1.client.atlantech.net [209.190.235.35])
	by mx1.FreeBSD.org (Postfix) with SMTP id 84BED43FDF
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 15 Sep 2003 07:30:00 -0700 (PDT)
	(envelope-from chris@Shenton.Org)
Received: (qmail 17352 invoked by uid 1001); 15 Sep 2003 14:31:08 -0000
Message-Id: <20030915143108.17351.qmail@PECTOPAH.shenton.org>
Date: 15 Sep 2003 14:31:08 -0000
From: Chris Shenton <chris@Shenton.Org>
Reply-To: Chris Shenton <chris@Shenton.Org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: umass man page: "mount -t msdos" instead of "ufs"
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         56894
>Category:       docs
>Synopsis:       umass man page: "mount -t msdos" instead of "ufs"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    trhodes
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 15 07:30:09 PDT 2003
>Closed-Date:    Mon Feb 09 23:30:13 PST 2004
>Last-Modified:  Mon Feb 09 23:30:13 PST 2004
>Originator:     Chris Shenton
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD PECTOPAH.shenton.org 5.1-CURRENT FreeBSD 5.1-CURRENT #9: Sat Sep 13 15:24:18 EDT 2003 root@PECTOPAH.shenton.org:/usr/obj/usr/src/sys/PECTOPAH i386


	
>Description:

To mount a CF in a umass USB reader, the man umass page says to do
"mount -t ufs /dev/da0c /mnt".

I had to use "-t msdos" rather than UFS, and believe the man page is in
error.


>How-To-Repeat:
man umass

>Fix:

simple fix in umass man page.


>Release-Note:
>Audit-Trail:

From: "Simon L. Nielsen" <simon@FreeBSD.org>
To: Chris Shenton <chris@Shenton.Org>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: docs/56894: umass man page: "mount -t msdos" instead of "ufs"
Date: Mon, 15 Sep 2003 21:14:14 +0200

 --RIYY1s2vRbPFwWeW
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On 2003.09.15 14:31:08 -0000, Chris Shenton wrote:
 
 > >Description:
 >=20
 > To mount a CF in a umass USB reader, the man umass page says to do
 > "mount -t ufs /dev/da0c /mnt".
 >=20
 > I had to use "-t msdos" rather than UFS, and believe the man page is in
 > error.
 
 That depends on which filesystem you have actually put on the CF.  The
 example in umass(4) also run disklabel and newfs programs on the
 filesystem.  If you do that, you will defiantly get a UFS filesystem.
 Did you do that?
 
 This is btw. no different from any other storage device.
 
 --=20
 Simon L. Nielsen
 FreeBSD Documentation Team
 
 --RIYY1s2vRbPFwWeW
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.3 (FreeBSD)
 
 iD8DBQE/Zg+Eh9pcDSc1mlERAr/wAJ9JbCqfDEGYKxFnWPoJQtOYoiMqIwCeMQCM
 wJHTtU7aHuGN04QX053Joik=
 =a1qZ
 -----END PGP SIGNATURE-----
 
 --RIYY1s2vRbPFwWeW--

From: "Simon L. Nielsen" <simon@FreeBSD.org>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: docs/56894: umass man page: "mount -t msdos" instead of "ufs"
Date: Mon, 15 Sep 2003 22:40:18 +0200

 --Qrgsu6vtpU/OV/zm
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 ----- Forwarded message from Chris Shenton <chris@shenton.org> -----
 
 =46rom: Chris Shenton <chris@shenton.org>
 Date: Mon, 15 Sep 2003 16:15:47 -0400
 To: "Simon L. Nielsen" <simon@FreeBSD.org>
 User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (berkeley-unix)
 Subject: Re: docs/56894: umass man page: "mount -t msdos" instead of "ufs"
 
 "Simon L. Nielsen" <simon@FreeBSD.org> writes:
 
 > That depends on which filesystem you have actually put on the CF.  The
 > example in umass(4) also run disklabel and newfs programs on the
 > filesystem.  If you do that, you will defiantly get a UFS filesystem.
 > Did you do that?
 
 Understood.  I was using it to read a CF from a digital camera, which
 had msdos FS on it containing the photos.
 
 Perhaps it might be helpful just to point out in the man page that
 various consumer devices would need the "-t msdos" option. And that
 they shouldn't do a newfs on such a card if it already has images,
 audio, video, or whatnot on it! :-)
 
 Thanks.
 
 ----- End forwarded message -----
 
 Adding to audit-trail.
 
 --=20
 Simon L. Nielsen
 FreeBSD Documentation Team
 
 --Qrgsu6vtpU/OV/zm
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.3 (FreeBSD)
 
 iD8DBQE/ZiOwh9pcDSc1mlERAs7bAJ42+VKLX4lCptZovMty1/WSmlKOswCgq4lx
 JuUkYOvIGog75xtAcUksGFA=
 =efIr
 -----END PGP SIGNATURE-----
 
 --Qrgsu6vtpU/OV/zm--
Responsible-Changed-From-To: freebsd-doc->trhodes 
Responsible-Changed-By: trhodes 
Responsible-Changed-When: Fri Dec 5 21:49:31 PST 2003 
Responsible-Changed-Why:  
Your suggestion of adding a note might be a good idea.  I'll take this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56894 

From: Marc Silver <marcs@draenor.org>
To: freebsd-gnats-submit@FreeBSD.org, chris@Shenton.Org
Cc:  
Subject: Re: docs/56894: umass man page: "mount -t msdos" instead of "ufs"
Date: Mon, 2 Feb 2004 18:55:16 +0000

 --7DO5AaGCk89r4vaK
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Hi there,
 
 I've put together a minor patch as per the suggestion, though the
 section heading may be incorrect.    Hopefully the information is useful
 though.
 
 Thanks,
 Marc
 
 --7DO5AaGCk89r4vaK
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="umass.4-patch"
 
 --- umass.4-orig	Mon Feb  2 20:37:52 2004
 +++ umass.4	Mon Feb  2 20:52:06 2004
 @@ -128,6 +128,22 @@
  .Dl "newfs_msdos /dev/da0"
  .Pp
  Create a new FAT type file system.
 +.Sh NOTES
 +Many consumer devices such as digital cameras automatically create
 +MS-DOS based file systems when storing information such as images and
 +videos.  These filesystems can be accessed by specifying the file system
 +type as 
 +.Nm msdos
 +when using 
 +.Xr mount 8 .
 +.Pp
 +.D1 mount -t msdos /dev/da0c /mnt
 +.Pp
 +Care should be taken not to run 
 +.Xr newfs 8
 +on devices that already contain data, as this will result in the
 +information being lost.
 +.Pp
  .Sh SEE ALSO
  .Xr ohci 4 ,
  .Xr uhci 4 ,
 
 --7DO5AaGCk89r4vaK--
State-Changed-From-To: open->patched 
State-Changed-By: trhodes 
State-Changed-When: Mon Feb 2 18:48:08 PST 2004 
State-Changed-Why:  
Patch applied with a few adjustments, thanks for the submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56894 
State-Changed-From-To: patched->closed 
State-Changed-By: trhodes 
State-Changed-When: Mon Feb 9 23:29:33 PST 2004 
State-Changed-Why:  
The umass(4) manual page was synced with CURRENT; this 
covered the MFC.  Thanks for the submission. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56894 
>Unformatted:
