* system halt on invalid udev.rule
@ 2004-03-10 7:29 Bob Barry
2004-03-12 0:50 ` Greg KH
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Bob Barry @ 2004-03-10 7:29 UTC (permalink / raw)
To: linux-hotplug
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_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: system halt on invalid udev.rule
2004-03-10 7:29 system halt on invalid udev.rule Bob Barry
@ 2004-03-12 0:50 ` Greg KH
2004-03-12 7:26 ` Bob Barry
2004-03-12 16:39 ` Greg KH
2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2004-03-12 0:50 UTC (permalink / raw)
To: linux-hotplug
On Wed, Mar 10, 2004 at 09:29:04AM +0200, Bob Barry wrote:
> 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_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: system halt on invalid udev.rule
2004-03-10 7:29 system halt on invalid udev.rule Bob Barry
2004-03-12 0:50 ` Greg KH
@ 2004-03-12 7:26 ` Bob Barry
2004-03-12 16:39 ` Greg KH
2 siblings, 0 replies; 4+ messages in thread
From: Bob Barry @ 2004-03-12 7:26 UTC (permalink / raw)
To: linux-hotplug
On Friday 12 March 2004 02:50, Greg KH wrote:
> > 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_id\x1470&alloc_id638&opÌk
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: system halt on invalid udev.rule
2004-03-10 7:29 system halt on invalid udev.rule Bob Barry
2004-03-12 0:50 ` Greg KH
2004-03-12 7:26 ` Bob Barry
@ 2004-03-12 16:39 ` Greg KH
2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2004-03-12 16:39 UTC (permalink / raw)
To: linux-hotplug
On Fri, Mar 12, 2004 at 09:26:47AM +0200, Bob Barry wrote:
>
> 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_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-03-12 16:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-10 7:29 system halt on invalid udev.rule Bob Barry
2004-03-12 0:50 ` Greg KH
2004-03-12 7:26 ` Bob Barry
2004-03-12 16:39 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).