On Fri, Jul 04, 2008 at 01:31:46PM +0200, Bastian Blank wrote: > Okay, current results: It only fails in the initramfs. path_id is run > succesfully and seems to give the correct result but udev does not setup > the symlink. A second trigger works.
I got a udev log. It gets 2 add and 1 change event. On the second add event it cleans up the link and recreates it later. On the change event it just removes it. | (initramfs) ls -al /dev/disk/by-path | ls: /dev/disk/by-path: No such file or directory | (initramfs) echo add > /sys/block/dasda/uevent | (initramfs) ls -al /dev/disk/by-path | drwxr-xr-x 2 0 0 60 Jul 4 12:22 . | drwxr-xr-x 4 0 0 80 Jul 4 12:22 .. | lrwxrwxrwx 1 0 0 11 Jul 4 12:22 ccw-0.0.0300 -> ../../dasda | (initramfs) echo change > /sys/block/dasda/uevent | (initramfs) ls -al /dev/disk/by-path | ls: /dev/disk/by-path: No such file or directory | (initramfs) Bastian -- The idea of male and female are universal constants. -- Kirk, "Metamorphosis", stardate 3219.8
signature.asc
Description: Digital signature