From owner-freebsd-questions@FreeBSD.ORG Tue Jan 4 11:30:29 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF05716A4E3 for ; Tue, 4 Jan 2005 11:30:26 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6629A43D2F for ; Tue, 4 Jan 2005 11:30:26 +0000 (GMT) (envelope-from mail@myunix.net) Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1ClmtG-0007ic-00; Tue, 04 Jan 2005 12:30:18 +0100 Received: from [84.128.13.64] (helo=[192.168.123.5]) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1ClmtF-0001Mo-00; Tue, 04 Jan 2005 12:30:18 +0100 Message-ID: <41DA7E48.6090300@myunix.net> Date: Tue, 04 Jan 2005 12:30:16 +0100 From: Christian Tischler User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Smith References: <41DA2B73.9080809@adelphia.net> In-Reply-To: <41DA2B73.9080809@adelphia.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:f535121c9cfa857f5d09ee37b87180a6 cc: freebsd-questions@freebsd.org Subject: Re: mounting firewire/USB storate devices X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2005 11:30:29 -0000 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