Re: udev and devfs - The final word

From: Vojtech Pavlik (vojtech_at_suse.cz)
Date: 01/06/04

  • Next message: Dr. Greg Wettstein: "Re: 2.4.24 and exec-shield-2.4.23-G4"
    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/
    

  • Next message: Dr. Greg Wettstein: "Re: 2.4.24 and exec-shield-2.4.23-G4"

    Relevant Pages

    • Re: udev sysfs docs Re: State of devfs in 2.6?
      ... /dev is just a normal directory ... The naive solution ... My guess is, unfortunately, udev probably won't handle this any time ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: dynamic /dev security hole?
      ... On Mon, 9 Aug 2004, Alan Cox wrote: ... udev would chown your ... linked copy (before unlinking the original device node), ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [Linux-NTFS-Dev] [2.6-GIT] NTFS: Release 2.1.25.
      ... One more bug, steps to reproduce: ... (using kernel driver) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: DevFS vs. udev
      ... On Wed, 2003-12-24 at 03:07, Greg KH wrote: ... cool - please post if you have something a bit before next udev ... Gentoo Linux Developer, Desktop/System Team Developer ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Adaptec aic79xx driver status
      ... handling during load and unload. ... If it properly loads and unloads for you ... and the kernel driver doesn't work just use it. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)