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

Dennis Veatch dveatch at woh.rr.com
Fri Jan 20 00:00:34 UTC 2006


On Thursday 19 January 2006 18:43, sofar wrote:
> On Thu, 19 Jan 2006 15:34:27 -0500, Dennis Veatch <dveatch at woh.rr.com> 
wrote:
> > On Thursday 19 January 2006 15:03, Dennis Veatch wrote:
> >> On Thursday 19 January 2006 14:19, Moritz Heiber wrote:
> >> > On Thu, 19 Jan 2006 18:01:46 +0000
> >> >
> >> > sofar <sofar at foo-projects.org> wrote:
> >> > > Can this symlink be added to udev somehow?
> >> >
> >> > udev.rules one-liner.
> >> >
> >> > Regards,
> >> >
> >> > Moritz
> >>
> >> What should the MODE and GROUP be?
> >
> > Would something like this be right? :
> >
> > KERNEL=="self/fd[0-2]*", NAME="proc/%n", SYMLINK+="%k", MODE="0600"
>
> no
>
> you should *ONLY* symlink /proc/self/fd to /dev/fd
>
> don't symlink anything else, the kernel (procfs) takes care of everything
> under /proc/fd.
>
> no clue about udev syntax - I need help for that.
>
> Auke
>
>

Well then if I understand right, this should do the trick (I think);

KERNEL=="/proc/self/fd[0-2]*", NAME="/dev/%n", SYMLINK+="%k", 
MODE="1777"

So to me my own lab rat. Poked that line in my udev rules (ouch!) and reboot.
.
.
.

Hey I have a "self" in /proc now! 

-- 
You can tuna piano but you can't tune a fish.


More information about the Lunar-dev mailing list