Re: mounting firewire/USB storate devices

2005-01-04 Thread Christian Tischler
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  /sandiskmsdosfs 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mounting firewire/USB storate devices

2005-01-04 Thread Lowell Gilbert
Kevin Smith [EMAIL PROTECTED] writes:

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

See the comments on wiring devices in man SCSI.

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

The FreeBSD FAQ has an entry on this.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mounting firewire/USB storate devices

2005-01-03 Thread Kevin Smith
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  /sandiskmsdosfs 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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]