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

Florin Braescu florin at lunar-linux.org
Thu Jan 19 20:31:35 UTC 2006


Pe data de Mie 18 Ian 2006 16:36, Dennis Veatch a scris:
> 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
>         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

  I think the best place of this is in the /etc/init.d/udev script.

  Florin


More information about the Lunar-dev mailing list