Armin K. wrote: > On the > http://www.linuxfromscratch.org/lfs/view/development/chapter07/symlinks.html > I have noticed the following: > > "The path is determined by Udev's path_id script" ... > > There is no path_id script anymore. > > "udevadm test /sys/block/hdd" > > On my system with 3.4 kernel there is no /sys/block/hdd ... There is, > however, /sys/block/{sda,sdb,sr0}
Thanks. I will start to review Chapter 7 soon. I know that it is out of date. > Also, have you tried to run udev without the > /lib/udev/devices/{pts,null} stuff? No I haven't. If those are created automatically in the devtmpfs code then we don't need them, but I'd want to verify that in the code. I'd thing that is somewhere in the kernel. I'll try to find something. I don't have any of these in that > location, but they are present in /dev after boot is done. > Also, I > dislike the way you create the node in Makefile. Doing that, make > install will fail when using DESTDIR method as an unprivileged user > (permission denied for mknod). You're right about the mknod as an unprivileged user. Any suggestions? I suppose there could be something like: NULLDEV = /lib/udev/devices/null if [ $EUID == 0 && ! -e $NULLDEV ]; then mknod -m666 $NULLDEV c 1 3; fi -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page