From owner-freebsd-questions@FreeBSD.ORG Tue Jan 23 06:31:39 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 BF9C716A401 for ; Tue, 23 Jan 2007 06:31:39 +0000 (UTC) (envelope-from ajm91qw@sbcglobal.net) Received: from smtp107.sbc.mail.mud.yahoo.com (smtp107.sbc.mail.mud.yahoo.com [68.142.198.206]) by mx1.freebsd.org (Postfix) with SMTP id 83BA413C467 for ; Tue, 23 Jan 2007 06:31:39 +0000 (UTC) (envelope-from ajm91qw@sbcglobal.net) Received: (qmail 87523 invoked from network); 23 Jan 2007 06:31:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Received:X-YMail-OSG:Date:From:To:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; b=SSBAewcvHMajYOTBD3nY28Yv3HsLP68pC8PRreEOuVZwiEJKwk5w+QpuMZp4pwnIFMdVAXW1fJRb9FUnRPv2efnuvJjWz5kD2Ao0nAef6WVHTIZb7sKawOe20H/yqFF9WR3MJUoNJCUmQnNn7kWRIrvTKb9FDyYPwtnrADPtjX4= ; Received: from unknown (HELO localhost) (ajm91qw@sbcglobal.net@70.129.18.230 with plain) by smtp107.sbc.mail.mud.yahoo.com with SMTP; 23 Jan 2007 06:31:38 -0000 X-YMail-OSG: Wb.rMYsVM1nERE7B0ddZXoU8TemjoBR6Rw1QsnU_VgAA7kOKoGoM3AmlI3U3SCVfweMGHxpxSAQxsLefvuzIjdFSc7cO3gPTPTe90tEalPXHuAn1q2xeTj.LyGctMbjxCb6q0cI- Date: Tue, 23 Jan 2007 00:30:48 -0600 From: ajm To: freebsd-questions@freebsd.org Message-ID: <20070123063048.GA728@powerfull.bsd> References: <922655.25365.qm@web35313.mail.mud.yahoo.com> <45B3F6CE.3060402@netscape.net> <20070122010355.GA1544@powerfull.bsd> <45B59227.3010204@u.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45B59227.3010204@u.washington.edu> User-Agent: Mutt/1.5.13 (2006-08-11) 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 06:31:39 -0000 On Mon, Jan 22, 2007 at 08:42:15PM -0800, Garrett Cooper wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > 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 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.1 (FreeBSD) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFFtZICEnKyINQw/HARAjhPAKCpcrg9i5+pw3Hv/0qDqnrO7E3Y1gCeJHpN > XJG0nd+4LjvIvNM8ZX5uiFo= > =GTAC > -----END PGP SIGNATURE----- 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). -- Alexander FreeBSD 6.0 RELEASE i386