Re: mount_msdosfs options with mp3 player
Hi, Thanks, i've got the mp3 player mounting fine now, i'd like to lock it down to a specific id, so that no matter which port it connects to it's always recognized as da0. I'd also like to automount it on connect. Is that doable? For the locking down loader.hints? I'm not sure of the syntax. Thanks. Dave. - Original Message - From: Wojciech Puchar [EMAIL PROTECTED] To: Dave [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Thursday, February 21, 2008 9:35 AM Subject: Re: mount_msdosfs options with mp3 player Hello, I've got a Zen Stone mp3 player that i plugged in to my freebsd 6.2 machine. It was detected fine as da0 and i mounted it with: mount_msdosfs /dev/da0s1 /mnt yes it is enough. or mtools are ok too. ___ 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 options with mp3 player
Dave wrote: Hi, Thanks, i've got the mp3 player mounting fine now, i'd like to lock it down to a specific id, so that no matter which port it connects to it's always recognized as da0. I'd also like to automount it on connect. Is that doable? For the locking down loader.hints? I'm not sure of the syntax. Thanks. Dave. I suggest you simply label it (using a windows machine I suppose) and use the GEOM label as a fixed mountpoint. This would show up as /dev/msdosfs/mp3player. ___ 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 options with mp3 player
Alphons Fonz van Werven wrote: Dominic Fandrey wrote: I suggest you simply label it (using a windows machine I suppose) and use the GEOM label as a fixed mountpoint. This would show up as /dev/msdosfs/mp3player. Sounds like a very good suggestion. If you have several such devices, e.g. MP3 players, USB sticks, cardreaders, ZIP disks (anyone remember those?) etc., this would be an easy way to manage them consistently. I never bothered with automounting though, so I couldn't comment on that. Alphons I don't care about automounting either. But I find GEOM labels really useful. I use them to be able to juggle my hard disks and be able to boot my systems, no matter the device number or type (e.g. ata or usb). I start every label with a unique identifier for the disk it's on. This way I can easily create rules in my devfs.rules that allow user mounts, but protect the system partitions: add path 'ufs/*'mode 0660 group operator add path 'ufs/2*' mode 0600 add path 'label/*' mode 0660 group operator add path 'label/2*' mode 0600 2 is the identifier for the disk I'm using (one day I'll have to use 2 digits and relabel everything... when that time has come I'll just switch to 3 digit numbering). So all members of operator have full access to ufs partitions, execept for the one the system resides on. The label type is for swap devices. It's what appears when 'glabel create' is used instead of filesystem native labels. Since swap devices don't have native labeling they end up there. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mount_msdosfs options with mp3 player
Hello, I've got a Zen Stone mp3 player that i plugged in to my freebsd 6.2 machine. It was detected fine as da0 and i mounted it with: mount_msdosfs /dev/da0s1 /mnt I'm wanting to make modifications, add/remove files and directories under fbsd, as opposed to windows. My question is with this mp3 player or a player in general with the msdosfs filesystem is there any special mount options i have to pass and failing to do so will corrupt the unit? I'd also like this player to always show up as da0 no matter which port i plug it in to. Thanks. Dave. ___ 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 options with mp3 player
On Thursday 21 February 2008 11:38:23 Dave wrote: I'd also like this player to always show up as da0 no matter which port i plug it in to. No can do, but there is glabel(8). Label the disk with whatever tool you want as for example ZEN_STONE and it will always be available as: /dev/msdosfs/ZEN_STONE. -- Mel ___ 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 options with mp3 player
Hello, I've got a Zen Stone mp3 player that i plugged in to my freebsd 6.2 machine. It was detected fine as da0 and i mounted it with: mount_msdosfs /dev/da0s1 /mnt yes it is enough. or mtools are ok too. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]