From owner-freebsd-questions@FreeBSD.ORG Tue Jul 11 16:53:35 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 6226516A4DD for ; Tue, 11 Jul 2006 16:53:35 +0000 (UTC) (envelope-from micahjon@ywave.com) Received: from relay1.av-mx.com (relay1.av-mx.com [137.118.16.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id 587F143D70 for ; Tue, 11 Jul 2006 16:53:32 +0000 (GMT) (envelope-from micahjon@ywave.com) X-Virus-Scan-Time: 0 Received: from [137.118.16.61] (HELO mx0.av-mx.com) by relay1.av-mx.com (CommuniGate Pro SMTP 4.2.10) with SMTP id 316823514 for freebsd-questions@freebsd.org; Tue, 11 Jul 2006 12:53:31 -0400 Received: (qmail 10973 invoked from network); 11 Jul 2006 16:53:31 -0000 Received: from dsl20226.ywave.com (HELO ?192.168.1.65?) (micahjon@ywave.com@216.227.107.226) by 0 with SMTP; 11 Jul 2006 16:53:31 -0000 X-CLIENT-IP: 216.227.107.226 X-CLIENT-HOST: dsl20226.ywave.com Message-ID: <44B3D789.1080104@ywave.com> Date: Tue, 11 Jul 2006 09:53:29 -0700 From: Micah User-Agent: Thunderbird 1.5.0.4 (X11/20060611) MIME-Version: 1.0 References: <44AFB730.5090905@rug.nl> <20060708151023.GD18199@wananchi.com> <44B10BC2.3020807@rug.nl> <200607101619.08802.mark@msen.com> In-Reply-To: <200607101619.08802.mark@msen.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: a.l.w.kuijper@rug.nl, freebsd-questions@freebsd.org Subject: Re: usb storage device mounting problems 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, 11 Jul 2006 16:53:35 -0000 > On Sunday 09 July 2006 9:59 am, Bram Kuijper wrote: >> Hi, >> >> still cannot seem to get usb device working as an ordinary user between >> multiple reboots, without doing /etc/rc.d/devfs start as root every time. >> >> did the following things described under 4.3.3. from >> http://www.gphoto.org/doc/manual/permissions-usb.html >> >> added this to devfs.rules: >> >> [usb_devices=10] >> add path 'da*s*' mode 0666 group usb >> add path 'ugen*' mode 0666 group usb >> >> added this to rc.conf: >> devfs_system_ruleset="usb_devices" >> >> >> removed this from devfs.conf: >> >> own /dev/fd0 root:operator >> perm /dev/fd0 0666 >> >> >> then, I restarted my rc.conf: >> /etc/rc.d/devfs start >> >> now, it is possible to mount the device as described, however only >> during this login. If I reboot, I have to do devfs start again as root. >> >> anybody knows how to retain these settings between multiple reboots? >> >> TIA, >> Bram An 'ls -l /dev/da*' and 'ls -l /dev/u*' just after reboot might be helpful to see if /some/ of the permissions are being set on boot. Next, double check your devfs.conf - in your email you said you removed permissions related to the floppy not the USB devices, maybe there's a conflict. Also, after a reboot but before doing a devfs start, unplug your USB device and then plug it back in - to see if devfs is working. I tried to reproduce your problem with a USB flash drive, but I can't. What kind of USB device are you using? Maybe it's a driver error. HTH, Micah