Skip to contentSkip to conversation

udev 155 release

ANNOUNCE Kay Sievers 2 participants 3 messages May 24, 2010 – May 25, 2010

lore
Share & tools
lore
#0 lore raw

Here comes a new udev version. Thanks to all who have contributed to this release.

The tarball can be found here:
ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/

The development repository can be found here:
http://www.kernel.org/git/?p=linux/hotplug/udev.git;a=summary

The ChangeLog can be found here:
http://www.kernel.org/git/?p=linux/hotplug/udev.git;a=blob;hb=HEAD;f=ChangeLog

udev 155
====
Bugfixes.

Now the udev daemon itself does on startup:
- copy the content of /lib/udev/devices to /dev
- create the standard symlinks like /dev/std{in,out,err},

    /dev/core, /dev/fd, ...

- use static node information provided by kernel modules and creates these nodes to allow module on-demand loading
- possibly apply permissions to all static nodes from udev rules which are annotated to match a static node

The default mode for a device node is 0600 now to match the kernel created devtmpfs defaults. If GROUP= is specified and no MODE= is given the default will be 0660.

#1 lore raw
Quoted 2 lines

- create the standard symlinks like /dev/std{in,out,err}, /dev/core, /dev/fd, ...

Looks like /dev/fd is pointing at /proc/fd. I think this should be /proc/self/fd (unless newer kernels added /proc/fd). Trivial patch follows.

udev/udevd.c +0 -0
index ab24885..802153b 100644
@@ -883,7 +883,7 @@ static void static_dev_create_links(struct udev

*udev, DIR *dir)

        };
        static const struct stdlinks stdlinks[] = {
                { "core", "/proc/kcore" },
-               { "fd", "/proc/fd" },
+               { "fd", "/proc/self/fd" },
                { "stdin", "/proc/self/fd/0" },
                { "stdout", "/proc/self/fd/1" },
                { "stderr", "/proc/self/fd/2" },
#2 lore raw
In reply to Kay Sievers
Quoted 5 lines · Bryan Kadzban
Quoted 2 lines

- create the standard symlinks like /dev/std{in,out,err}, /dev/core, /dev/fd, ...

Looks like /dev/fd is pointing at /proc/fd.  I think this should be /proc/self/fd (unless newer kernels added /proc/fd).  Trivial patch follows.

Yeah, that should be "self". Applied.

Thanks,
Kay