Date: Mon, 4 Aug 2008 18:02:39 +0200 From: Roland Smith <rsmith@xs4all.nl> To: joeb <joeb@a1poweruser.com> Cc: "freebsd-questions@FreeBSD. ORG" <freebsd-questions@freebsd.org> Subject: Re: GEOM + mount_msdosfs usb flash stick Message-ID: <20080804160239.GA1158@slackbox.xs4all.nl> In-Reply-To: <NBECLJEKGLBKHHFFANMBGEDDCJAA.joeb@a1poweruser.com> References: <NBECLJEKGLBKHHFFANMBGEDDCJAA.joeb@a1poweruser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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.=20 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 --=20 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) --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkiXKB8ACgkQEnfvsMMhpyV6oACfaqh375IKq3CZREzwhlOa+U2U z3MAoKRCp4y1K/FDWBl2yz++WGXzA8/q =Bdv2 -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080804160239.GA1158>