On Sun, May 24, 2015 at 11:06:22AM -0500, Bruce Dubbs wrote:
>
> Actually I've been toying with the idea of using a custom script to make a
> series of mknod commands to add things I need at boot. Then I can skip udev
> completely. In the final analysis, what does it add for us? About the only
> thing I can think of that affects most users is that it may change some
> permissions in /dev.
>
I might be totally wrong, but I suspect it will provide some logic
about where usb storage devices (sticks, disks, cameras) appear. At
the moment, if my machine has one internal drive then the first usb
device will appear as /dev/sdb, and /dev/sdb will only appear if
something is plugged in. So, I plug in a camera, it becomes
/dev/sdb. I unplug it and later plug in a disk - that too is now
/dev/sdb.
It also means that the nodes for disks match what is present: I have
an old-style DOS partition, /dev/sda1 is /boot (wasteful, but that
was how I started out), /dev/sda2 is an extended partition
containing /dev/sda{5..10} so udev creates nodes sda1, sda2, sda5,
etc.
Possibly also applies to usb printers (/dev/usb/lpN if I recall
correctly).
ĸen
--
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page