Missing link /dev/fd


a.tom

Member
Joined
Nov 17, 2008
Messages
288
Age
51
Location
Pfösing, Austria
Website
Visit site
While trying some shell scripting with zenity / yad GUI dialogs i realised that there is no symlink from /dev/fd to /proc/self/fd in the Pandora firmware (Zaxxon, HF5). As far as i know this symlink is usually created by udev on system startup.


Therefore it's not possible to open a file descriptor with exec



Code:
exec 3> >(zenity --notification --listen)

throws the error



Code:
/dev/fd/62: No such file or directory

After creating the link manually with



Code:
sudo ln -s /proc/self/fd /dev/fd
everything works as expected!


Am i doing something wrong or could this be a bug?
 
Bump!

I'm having this exact problem. Of course it's easy to fix by creating the link manually, as stated. But udev should be doing this at boot. What could be the reason it isn't?
 
Back
Top