Re: udev and devfs - The final word
From: Vojtech Pavlik (vojtech_at_suse.cz)
Date: 01/06/04
- Previous message: viro_at_parcelfarce.linux.theplanet.co.uk: "Re: Might this help with SCO?"
- In reply to: Andries Brouwer: "Re: udev and devfs - The final word"
- Next in thread: Greg KH: "Silly udev script [was Re: udev and devfs - The final word]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 6 Jan 2004 08:14:32 +0100 To: Andries Brouwer <aebr@win.tue.nl>
On Mon, Jan 05, 2004 at 08:52:28PM +0100, Andries Brouwer wrote:
> > udev can then use those serial numbers to have a stable pathname
>
> True. Provided that it knows how to get them.
> The kernel driver knew all about the device.
> Must udev also know all about all possible devices?
No. But it must have rules about what to do with all possible device
types (at least very generic default rules), based on the data the
drivers can provide to identify the device.
> Do I/O to these devices?
If the using an UUID stored on the device (like the filesystem UUID), yes.
> Or must sysfs export all data that could possibly be used?
Not necessarily. But udev must get the all the data that could possibly
be used for assigning a name to the device. It can get them either as
hotplug command line arguments and environment variables or via sysfs,
or by any other means.
-- Vojtech Pavlik SuSE Labs, SuSE CR - 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/
- Previous message: viro_at_parcelfarce.linux.theplanet.co.uk: "Re: Might this help with SCO?"
- In reply to: Andries Brouwer: "Re: udev and devfs - The final word"
- Next in thread: Greg KH: "Silly udev script [was Re: udev and devfs - The final word]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|