Re: Please use the 'usbfs' filetype instead

Greg KH (greg@kroah.com)
Fri, 20 Dec 2002 11:33:54 -0800


Copied to lkml for others to refer to once 2.5.53 comes out...

On Fri, Dec 20, 2002 at 01:29:41PM -0500, Burton Windle wrote:
> Hello. I'm getting this message once per bootup, but I can't figure out
> why.
>
> uhci-hcd 00:07.2: Intel Corp. 82371AB/EB/MB PIIX4
> uhci-hcd 00:07.2: irq 11, io base 0000cce0
> Please use the 'usbfs' filetype instead, the 'usbdevfs' name is depreciated.
> drivers/usb/core/hcd.c: new USB bus registered, assigned bus number 1
> hub 1-0:0: USB hub found
> hub 1-0:0: 2 ports detected
>
> I see this change just started in 2.5.52-bk4. My /etc/fstab doesn't have
> usbdevfs, it has usbfs.
>
> I've grepped my entire /etc, and don't find any references to 'usbdevfs'.
> Is this a warning about the kernel using it, or user-space using that
> name? Can you offer a clue where I might find this, and correct it?

Is this a Red Hat machine?
If so, look in /etc/rc.sysinit. That's where Red Hat mounts usbdevfs.

For a Debian box, it's done in /etc/hotplug/usb.rc. I don't know where
the other distros do this, but it's probably one of the above two
places.

Don't worry, the usbdevfs name will stick around and work through 2.6,
I'm just trying to warn people that it will go away in 2.7.

Also, more recent 2.4 kernels support the usbfs name, if you want to
change the rc.sysinit file and not worry about it anymore.

Hope this helps,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/