GEOM + mount_msdosfs usb flash stick
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'? 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. What is GEOM doing form me in 7.0? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GEOM + mount_msdosfs usb flash stick
On Mon, 4 Aug 2008 14:12:09 +0800, joeb [EMAIL PROTECTED] wrote: 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'? I don't think so, but you can check it with % mount -v if anything has been mounted. 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. Manual mount seems to have higher priority. Refer to /etc/fstab to define standard mount points if you like, for example: /dev/fd0/media/floppy msdosfs rw,noauto 0 0 /dev/acd0 /media/cdromcd9660 ro,noauto 0 0 /dev/acd0 /media/dvd cd9660 ro,noauto 0 0 /dev/acd1 /media/writer cd9660 ro,noauto 0 0 /dev/cd0/media/pcd cd9660 ro,noauto 0 0 /dev/da0/media/pd ufs rw,noauto,noatime 0 0 /dev/da1/media/jaz ufs rw,noauto 0 0 /dev/da2s1 /media/stickmsdosfs rw,noauto,noatime 0 0 /dev/da2/media/cam msdosfs rw,noauto,noatime 0 0 /dev/da3s1 /media/card msdosfs rw,noauto,noatime 0 0 What is GEOM doing form me in 7.0? As far as I do understand, GEOM provides these messages to allow some kind of auto-mounting service (usually coming with KDE or Gnome) to take some title of the media (data carrier identifier) to create the mount point; I saw something similar with PC-BSD when CDs, DVDs or USB sticks had been inserted, the mountpoint was something like /media/The Title of The Disc (including the ugly whitespaces) or /media/USB0001. Or, as your example seems to show, the label is a combination of the type of the media and the filesystem it uses... If you don't run any of these automounters, the messages don't seem to hava any effect. But I'm not sure, I've never seen them on my 7.x system... Maybe man geom will tell you more. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GEOM + mount_msdosfs usb flash stick
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) pgpZhIEZB9D0S.pgp Description: PGP signature
Re: mount_msdosfs usb flash stick
da0s1 On Sat, 2 Aug 2008, joeb wrote: On 6.2 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 box I get console msg about da0 device as usb flash memory stick. All looks good at this point. When is issue this command, mount_msdosfs /dev/da0 /mnt I get this error msg ' invalid argument' . Also tried this format of the command with same results.mount -t msdos /dev/da0 /mnt (note typing error on msdos in first post. Sorry) What am I doing wrong here? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mount_msdosfs usb flash stick
On 6.2 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 box I get console msg about da0 device as usb flash memory stick. All looks good at this point. When is issue this command, mount_msdosfs /dev/da0 /mnt I get this error msg ' invalid argument' . Also tried this format of the command with same results.mount -t msdos /dev/da0 /mnt (note typing error on msdos in first post. Sorry) What am I doing wrong here? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mount_msdosfs usb flash stick
On 6.2 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 box I get console msg about da0 device as usb flash memory stick. All looks good at this point. When is issue this command, mount_msdosfs /dev/da0 /mnt I get this error msg ' invalid argument' . Also tried this format of the command with same results.mount -t msdo /dev/da0 /mnt What am I doing wrong here? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount_msdosfs usb flash stick
On Saturday 02 August 2008, joeb wrote: On 6.2 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 box I get console msg about da0 device as usb flash memory stick. All looks good at this point. When is issue this command, mount_msdosfs /dev/da0 /mnt I get this error msg ' invalid argument' . Also tried this format of the command with same results.mount -t msdos /dev/da0 /mnt (note typing error on msdos in first post. Sorry) Most of the time usb drives are partitioned like regular hard drives. Do an ls /dev/da0* to see what you have, but you'll probably want: mount -t msdos /dev/da0s1 /mnt JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]