linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ANNOUNCE] udev 155 release
@ 2010-05-24 15:41 Kay Sievers
  2010-05-25  4:48 ` Bryan Kadzban
  2010-05-25  4:59 ` Kay Sievers
  0 siblings, 2 replies; 3+ messages in thread
From: Kay Sievers @ 2010-05-24 15:41 UTC (permalink / raw)
  To: linux-hotplug

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ANNOUNCE] udev 155 release
  2010-05-24 15:41 [ANNOUNCE] udev 155 release Kay Sievers
@ 2010-05-25  4:48 ` Bryan Kadzban
  2010-05-25  4:59 ` Kay Sievers
  1 sibling, 0 replies; 3+ messages in thread
From: Bryan Kadzban @ 2010-05-25  4:48 UTC (permalink / raw)
  To: linux-hotplug

> - 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.

Signed-Off-By: Bryan Kadzban <bryan@kadzban.is-a-geek.net>

diff --git a/udev/udevd.c b/udev/udevd.c
index ab24885..802153b 100644
--- a/udev/udevd.c
+++ b/udev/udevd.c
@@ -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" },

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [ANNOUNCE] udev 155 release
  2010-05-24 15:41 [ANNOUNCE] udev 155 release Kay Sievers
  2010-05-25  4:48 ` Bryan Kadzban
@ 2010-05-25  4:59 ` Kay Sievers
  1 sibling, 0 replies; 3+ messages in thread
From: Kay Sievers @ 2010-05-25  4:59 UTC (permalink / raw)
  To: linux-hotplug

On Tue, May 25, 2010 at 06:48, Bryan Kadzban
<bryan@kadzban.is-a-geek.net> wrote:
>> - 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-25  4:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-24 15:41 [ANNOUNCE] udev 155 release Kay Sievers
2010-05-25  4:48 ` Bryan Kadzban
2010-05-25  4:59 ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).