On Mon, Aug 04, 2008 at 02:12:09PM +0800, joeb wrote: > On 7.0 release of FBSD trying to mount a usb flash memory stick. The stick > has a msdos file system on it and has been loaded with files using windows > xp. When I plug the stick into my FBSD 7.0 box I get Geom console msg > 'GEOM_LABEL:Label for provider Da0s1 is msdosfs_flashdrive'. > Does this mean the flash stick is mounted and the mount point is > msdosfs_flashdrive'?
No. It means that GEOM_LABEL has created a named device in /dev/msdosfs/flashdrive. This is easier to use then e.g. /dev/da0s1. Consider the case where you have two USB mass storage devices. One will be da0, the other da1, da0 being the one that was plugged in first. The label 'flashdrive' on the other hand won't change unless you change it. > When is issue this command, mount_msdosfs /dev/da0s1 /mnt I get this > console msg ' GEOM get label removed'. Using the /mnt mount point every > thing works fine. If you use 'mount_msdosfs -m 644 -M 755 /dev/msdosfs/flashdrive /mnt' you can keep using this command (e.g. put it in a script) as long as you don't change the label. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
Description: PGP signature