Re: [ANNOUNCE] udev 155 release

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> - 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@xxxxxxxxxxxxxxxxxxxxx>

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" },
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux