bug: udev does not create /dev/fd pseudo directory

sofar sofar at foo-projects.org
Thu Jan 19 18:01:46 UTC 2006




On Wed, 18 Jan 2006 09:36:05 -0500, Dennis Veatch <dveatch at woh.rr.com> wrote:
> On Tuesday 17 January 2006 18:59, sofar wrote:
>> florin/others:
>>
>> udev does not create the /dev/fd symlink to /proc/self/fd, which is
>> required by (amongst others) bash to do pipe-redirection. This needs to
> be
>> fixed asap so that I can rollout 1.6.0-rc2.
>>
>> Auke
>>
> 
> I know enough about udev to hose it up. Having said that, at one time
> those
> symlinks existed. Found this (granted it's old);
> 
> http://foo-projects.org/pipermail/lunar-commits/2004-November/031415.html
> 
> I don't suppose it's just a simple matter of? ;
> 
>         ln -snf /proc/self/fd $udev_root/fd

this one is enough: /proc/self/fd is a directory and thus _all_ the entries below it do not need to be symlinked anymore.

>         ln -snf /proc/self/fd/0 $udev_root/stdin
>         ln -snf /proc/self/fd/1 $udev_root/stdout
>         ln -snf /proc/self/fd/2 $udev_root/stderr

it's not even possible - you'd symlink a file to itself.

Can this symlink be added to udev somehow?

Auke




More information about the Lunar-dev mailing list