system halt on invalid udev.rule
Due to an editing blunder I left a line containing:
NAME="ttyLT0", SYSLINK="modem"
near the top of my udev.rules. At next startup, the system said that my root device (/dev/hda3) did not exist, and offered "retry or enter password for shell". I would suggest that udev be modified to cope more gracefully and informatively to bad rules. Something like samba's "testparm", but for udev rules, would be useful too.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 8 lines · Bob Barry
Due to an editing blunder I left a line containing:
NAME="ttyLT0", SYSLINK="modem"near the top of my udev.rules. At next startup, the system said that my root device (
/dev/hda3) did not exist, and offered "retry or enter password for shell". I would suggest that udev be modified to cope more gracefully and informatively to bad rules. Something like samba's "testparm", but for udev rules, would be useful too.
You mean like "udevtest" which is in the udev release? :)
thanks,
greg k-h
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 4 lines · Greg KH
Quoted 2 lines
Something like samba's "testparm", but for udev
rules, would be useful too.You mean like "udevtest" which is in the udev release? :)
Dunno. After making 021:
udev-021> find . -type f | xargs grep -li udevtest ./ChangeLog ./udev.spec ./Makefile ./udevtest.o
There seems to be no doc, no man, and no builtin "usage" for udevtest, and my distribution (Gentoo) does not install it.
To the user, it's inscrutable:
udev-021> ./udevtest -h udev-021> ./udevtest --help udev-021> ./udevtest -v udev-021> ./udevtest --version udev-021> ./udevtest udev-021> ./udevtest xyz udev-021>
I'll look at the code and see if I can figure out what it does.
Thanks,
Bob
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&opÌk
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 11 lines · Bob Barry
To the user, it's inscrutable:
udev-021> ./udevtest -h udev-021> ./udevtest --help udev-021> ./udevtest -v udev-021> ./udevtest --version udev-021> ./udevtest udev-021> ./udevtest xyz udev-021>I'll look at the code and see if I can figure out what it does.
Try:
./udevtest /block/sda
if you want to test naming /block/sda
And yes, a manpage or help options might be nice to have :)
thanks,
greg k-h
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel