From owner-freebsd-questions@FreeBSD.ORG Tue Jan 23 07:16:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 63F2E16A405 for ; Tue, 23 Jan 2007 07:16:57 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by mx1.freebsd.org (Postfix) with ESMTP id 3D39213C4F2 for ; Tue, 23 Jan 2007 07:16:57 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l0N7GunI009340 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 22 Jan 2007 23:16:56 -0800 X-Auth-Received: from [192.168.0.41] (c-67-187-172-166.hsd1.ca.comcast.net [67.187.172.166]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l0N7GuNV012098 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 22 Jan 2007 23:16:56 -0800 Message-ID: <45B5B666.5030801@u.washington.edu> Date: Mon, 22 Jan 2007 23:16:54 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20070109) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <922655.25365.qm@web35313.mail.mud.yahoo.com> <45B3F6CE.3060402@netscape.net> <20070122010355.GA1544@powerfull.bsd> <45B59227.3010204@u.washington.edu> <20070123063048.GA728@powerfull.bsd> In-Reply-To: <20070123063048.GA728@powerfull.bsd> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.1.22.230435 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __LINES_OF_YELLING 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: trouble mounting Olympus WS-310M voice recorder X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jan 2007 07:16:57 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ajm wrote: > On Mon, Jan 22, 2007 at 08:42:15PM -0800, Garrett Cooper wrote: > ajm wrote: >>>> On Mon, Jan 22, 2007 at 12:27:10AM +0100, Tore Lund wrote: >>>>> Andrew Gould wrote: >>>>>> [snip] >>>> this is from a previous message in the thread: >>>>> attempt: mount -tmsdos -orw /dev/da0s1 /mnt/ws310 >>>> try as root or su to root >>>> >>>> # mount_msdosfs /dev/da0s1 /mnt/ws310 > Interestingly enough I tried out these steps as root to see if I could > resimulate this with my camera and I ended up with the same results. > Only by trying to mount the camera as root could I succeed. > > Does anyone have a FAT16/FAT32 drive properly mounting under FreeBSD as > a non-root user? If so, did you modify /dev, /etc/devfs.conf, or are you > using amd(8)? > > -Garrett > Take a look at sudoers(5) and visudo(8) > I use sudo to mount my mass storage compliant devices with the > following command as regular user: > for my mp3 player > [ajm@bsd]$ sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/mp3player > for my camera > [ajm@bsd]$ sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/kodak > for a memory card reader > [ajm@bsd]$ sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/card_reader > Just make sure you change the ? to an actual device number. > You do need to create the /mnt directories in your own home directory > so that you can read and write to those devices as a regular user. > Also use sudo to un mount the device: > [ajm@bsd]$ sudo umount_msdosfs /dev/da?s1 > NOTE: I did not change anything in the /etc/devfs.conf or am I using > amd(8). That's not an absolute solution though, because it should work as a regular user (maybe with a bit of fenaggling). Besides, installing sudo is a security risk anyhow.. - -Garrett -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFtbZmEnKyINQw/HARAjMJAJwPrVm8VI64gdwBwtDOrDmxO+Cv4gCfQzXT eudjUIzKZtXf9g3khIaK84k= =oY+M -----END PGP SIGNATURE-----