Bug 56894

Summary: umass man page: "mount -t msdos" instead of "ufs"
Product: Documentation Reporter: chris <chris>
Component: Books & ArticlesAssignee: Tom Rhodes <trhodes>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
umass.4-patch none

Description chris 2003-09-15 15:30:09 UTC
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.

Fix: 

simple fix in umass man page.
How-To-Repeat: man umass
Comment 1 Simon L. B. Nielsen freebsd_committer freebsd_triage 2003-09-15 20:14:14 UTC
On 2003.09.15 14:31:08 -0000, Chris Shenton wrote:

> >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.


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.

-- 
Simon L. Nielsen
FreeBSD Documentation Team
Comment 2 Simon L. B. Nielsen freebsd_committer freebsd_triage 2003-09-15 21:40:18 UTC
----- Forwarded message from Chris Shenton <chris@shenton.org> -----

From: 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.

-- 
Simon L. Nielsen
FreeBSD Documentation Team
Comment 3 Tom Rhodes freebsd_committer freebsd_triage 2003-12-06 05:49:31 UTC
Responsible Changed
From-To: freebsd-doc->trhodes

Your suggestion of adding a note might be a good idea.  I'll take this.
Comment 4 Marc Silver 2004-02-02 18:55:16 UTC
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
Comment 5 Tom Rhodes freebsd_committer freebsd_triage 2004-02-03 02:48:08 UTC
State Changed
From-To: open->patched

Patch applied with a few adjustments, thanks for the submission!
Comment 6 Tom Rhodes freebsd_committer freebsd_triage 2004-02-10 07:29:33 UTC
State Changed
From-To: patched->closed

The umass(4) manual page was synced with CURRENT; this 
covered the MFC.  Thanks for the submission.