linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev.rules behavior changed ?
@ 2004-06-11 22:03 Mike Frysinger
  2004-06-12 12:19 ` Kay Sievers
  2004-06-13 17:11 ` Mike Frysinger
  0 siblings, 2 replies; 3+ messages in thread
From: Mike Frysinger @ 2004-06-11 22:03 UTC (permalink / raw)
  To: linux-hotplug

a while back i asked a question about how to disable device nodes from being 
created ... a good example is the tty stuff.  by default, 64 tty's are 
created (0-63) and the only solution is to either edit the kernel (not useful 
across many different machines and kernel upgrades) or to 'trick' the 
udev.rules file as so (this is what was suggested and what *used* to work):
KERNEL="tty[0-9]",    NAME="vc/%n",  SYMLINK="%k"
KERNEL="tty[0-9]*",   NAME=""

here you can see that tty0 - tty9 would have the nodes created while 
tty10-tty63 should disappear ... however, now with udev-026 at least (it's 
the first time i noticed because i was debugging that tty/666/660 mode bug), 
i get all the vc nodes in /dev/vc/ with their tty symlinks in /dev/

is there a 'better' way to do what i want or is this a 'bug' ? :)
-mike


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2004-06-13 17:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-11 22:03 udev.rules behavior changed ? Mike Frysinger
2004-06-12 12:19 ` Kay Sievers
2004-06-13 17:11 ` Mike Frysinger

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).