mounting firewire/USB storate devices
Christian Tischler
mail at myunix.net
Tue Jan 4 03:30:29 PST 2005
Kevin Smith wrote:
> I'm a little new at this, but can some suggest what is the best way to
> mount firewire and usb storage devices ? I am using both my ipod and
> compact flash devices with freeBSD but I find that I do not have a
> simple setup that allows me to mount them easily without manually
> looking at the /dev directory to figure out which device number
> belongs to which device. (or using camcontrol devlist) and then
> editing the /dev/fstab file each time. I first used a /etc/fstab
> setup that looks like:
>
> /dev/da0s1 /sandisk msdosfs rw,noauto 0 0
> /dev/da1s2 /ipod msdos rw,noauto 0 0
>
> That does work, however, the scsi device numbers change, depending on
> what is plugged in and what order you plugged them in and you end up
> having to fish around with camcontrol to figure out what number is
> assigned to what...Questions.
>
> (1) Is there an easier way to manage these devices. For example, if
> there is a way to auto mount them when they are plugged in that would
> be nice. Gnome 2.8 is supposed to support this, but I have not found
> any clear way on how to set it up.
Take a look at devfs.
>
> (2) More general but related question...Currently with the setup I
> have above, if I want to use the command "mount /ipod", I have to be
> superuser. What permissions do I need to set so that a normal user can
> do the mount ? -or- what group would the user have to be in. By
> default users on my system are in operator and wheel groups.
>
I would suggest sudo as an easy way to do the job. Probably there is a
better solution.
christian
More information about the freebsd-questions
mailing list