LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Lukas Hejtmanek <xhejtman@ics.muni.cz>, linux-usb@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.25 possible regression usbfs options ignored?
Date: Tue, 4 Mar 2008 16:03:26 -0800	[thread overview]
Message-ID: <20080305000326.GA4230@kroah.com> (raw)
In-Reply-To: <20080303215456.GA7747@ics.muni.cz>

On Mon, Mar 03, 2008 at 10:54:56PM +0100, Lukas Hejtmanek wrote:
> Hello,
> 
> I'm using 2.6.25-rc3. It seems that options for usbfs (devgid and devmode) are
> ignored.
> 
> # mount | grep usbfs
> none on /proc/bus/usb type usbfs (rw,devgid=46,devmode=0664)
> 
> /proc/bus/usb# ls -l
> total 0
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 001
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 002
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 003
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 004
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 005
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 006
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 007
> -r--r--r-- 1 root root 0 2008-03-03 22:30 devices
> 
> or am I just someting missing?

Wait, look in the directory for the devices, that is what you are
setting the option for:
	$ ls -l /proc/bus/usb/001/
	total 0
	-rw-rw-r-- 1 root usb 43 Mar  4 13:29 001
	-rw-rw-r-- 1 root usb 59 Mar  4 13:29 004
	-rw-rw-r-- 1 root usb 52 Mar  4 13:29 007
	$ mount | grep usb
	usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)

So I think everything is just fine, right?

thanks,

greg k-h

  parent reply	other threads:[~2008-03-05  0:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-03 21:54 Lukas Hejtmanek
2008-03-04 23:55 ` Greg KH
2008-03-05  0:03 ` Greg KH [this message]
2008-03-05 23:22   ` Lukas Hejtmanek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080305000326.GA4230@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=xhejtman@ics.muni.cz \
    --subject='Re: 2.6.25 possible regression usbfs options ignored?' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).