Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Jan 2005 12:30:16 +0100
From:      Christian Tischler <mail@myunix.net>
To:        Kevin Smith <smithcam@adelphia.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mounting firewire/USB storate devices
Message-ID:  <41DA7E48.6090300@myunix.net>
In-Reply-To: <41DA2B73.9080809@adelphia.net>
References:  <41DA2B73.9080809@adelphia.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41DA7E48.6090300>