mounting firewire/USB storate devices

Kevin Smith smithcam at adelphia.net
Mon Jan 3 21:36:53 PST 2005


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.

(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.

Thanks....






More information about the freebsd-questions mailing list