Marco d'Itri wrote:

> > Here it goes (as in udev 172-1):
> I know what is in that file.
> You need to find out why it's not working for you.

OK, after some investigation:

1. write_dev_root_rule works just fine if I comment
out: [ ! -e $RUNDIR/rules.d/61-dev-root-link.rules ]
Ie. previous version of 61-dev-root-link.rules 
is more important than created by write_dev_root_rule.
Seems fine, but:

2. if I delete 61-dev-root-link.rules and restart, this
file is recreated before write_dev_root_rule is run 
(and in consequence correct /dev/root is not created). 

I'm unable to find what recreates this file:
- I don't have initrd,
- no files in /etc and /lib mentions 61-dev-root-link.rules,
- write_dev_root_rule is not responsible, as I modified it to 
detect, when it's run (more or less:
echo `date` >> /run/udev/STATUS && ls /run/rules.d/ >> /run/udev/STATUS)

3. I had booted with init=/bin/sh. Static dev (available before udev
runs) had /dev/root linked to /dev/sda2 (incorrectly). 
I deleted, but still no change...

any thoughts?

For now everything works with [ ! -e ...] commented.

Thanks

-- 
Jacek Kawa 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to