Re: udev and devfs - The final word

From: Helge Hafting (helgehaf_at_aitel.hist.no)
Date: 01/03/04

  • Next message: Pavel Machek: "Re: 2.5isms"
    Date:	Sat, 3 Jan 2004 16:22:41 +0100
    To: Greg KH <greg@kroah.com>
    
    

    On Fri, Jan 02, 2004 at 09:59:38PM -0800, Greg KH wrote:
    > On Thu, Jan 01, 2004 at 02:18:55AM +0100, Helge Hafting wrote:
    > > On Tue, Dec 30, 2003 at 04:29:42PM -0800, Greg KH wrote:
    > > >
    > > > 2) We are (well, were) running out of major and minor numbers for
    > > > devices.
    > >
    > > devfs tried to fix this one by _getting rid_ of those numbers.
    > > Seriously - what are they needed for?
    >
    > But devfs failed in this. The devfs kernel interface still requires a
    > major/minor number to create device nodes.
    >
    Yes. The numbers went unused in the common case of opening a device by name though.

    > Hopefully I can work on fixing this up in 2.7.

    Interesting - how do you plan to do this?
    There must be some connection from device node to driver. Devfs had
    a pointer in the inode. The old way has numbers, and spend time on
    a search.

    Are you considering a sort of "minimal devfs" managed by udev?

    Helge Hafting
    -
    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: Pavel Machek: "Re: 2.5isms"

    Relevant Pages

    • Re: devfs vs udev, thoughts from a devfs user
      ... that devfs uses, thereby coming up with the same names. ... the advantage to udev is to move code out of the kernel. ... eliminate udev, and create static device nodes, without having to modify ...
      (Linux-Kernel)
    • Re: [PATCH] USB: add new USB PhidgetServo driver
      ... You are describing a better devfs, ... Come on Oliver... ... Linus does not want us to put device nodes in sysfs. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: lost /dev/sda and /dev/sda1
      ... Device nodes are not deleted by anything ... Are you using devfs? ... second SCSI disk, /dev/sdb. ... Brainbench MVP for Linux Admin / mail: ...
      (comp.os.linux.hardware)
    • Re: lost /dev/sda and /dev/sda1
      ... Device nodes are not deleted by anything ... Are you using devfs? ... those files are removed everytime I unplug the camera. ... > unplug the devices or unload the kernel modules. ...
      (comp.os.linux.hardware)
    • Re: [GIT PATCH] Remove devfs from 2.6.13
      ... people like about devfs in the first place. ... What version of alsa libraries are you using that can deal with the ... if you don't care about your device nodes working. ... To have a /working/ devfs-like ...
      (Linux-Kernel)