udev 155 release
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.
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
@@ -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" },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/fdis 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