Re: /dev/ files

From: Zachary Wu (wxl_at_ccxx.net)
Date: 11/10/05

  • Next message: Brian Nelson: "Re: Mounting an iPod via USB"
    Date: Thu, 10 Nov 2005 15:50:39 +0800
    To: Paras pradhan <pradhanparas@gmail.com>
    
    

    Paras pradhan 写道:

    >hi:
    >
    >it not only the matter of scsci emulation.. i dont have many files...
    >like: sda, sda1, sdb etc.....it sud contain around 1600 files.. but in
    >my system only 160 files inside /dev.
    >
    >i am confused why the files are lying inside /dev/.static/dev instead of /dev/
    >
    >
    >
    >Paras.
    >
    >
    For 2.6 kernel, it use the "udev" to manage the /dev dir
    When system booting, udev will check your hardware and make the file in
    /dev what you really have, so you have about 160 files in /dev
    When you insmod a new module, the udev also will make a new file in /dev
    But in 2.4 kernel, no one will make the file dynamicly, so the /dev has
    1600 static files :)

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Brian Nelson: "Re: Mounting an iPod via USB"

    Relevant Pages

    • Re: Problem with the serial port in Fedora Core 6 -xen kernel
      ... Someone with the Xen kernel version should be able to repeat this ... onboard hardware hasn't been detected. ... virtualization, many other people have installed the xen kernel and were ... I don't agree with you a bit that it wasn't a udev problem ...
      (Fedora)
    • Re: [ANNOUNCE] udev 021 release
      ... >> This item keeps coming up as the one feature that devfs has and udev ... > to one where the proper modules are loaded when the hardware is found. ... Of course I sometimes need my kernel to adapt to new hardware and with ... If udev support for yet undriven but present hardware is so hard to ...
      (Linux-Kernel)
    • Re: devfs vs udev, thoughts from a devfs user
      ... into sysfs, what about a little thought experiment. ... contest is basically the same thing for the kernel. ... devfs is just one more filesystem of many. ... But again, you're talking about udev and devfs, when you ...
      (Linux-Kernel)
    • Re: Problem with the serial port in Fedora Core 6
      ... kernel or that LVM isn't compiled into the kernel but rather is a ... especially with regard to the serial ports. ... bugzilla the missing ttyS's, but bugzilla didn't like my password. ... But, I'll repeat myself AGAIN, I don't think udev has anything to do ...
      (Fedora)
    • Re: Documentation for sysfs, hotplug, and firmware loading.
      ... I want to document a stable API, including the subset of sysfs that will ... and udev should be in the kernel source tarball. ... If you recurse down under /sys/class following symlinks, ...
      (Linux-Kernel)