tty devices
Why do I have 60 tty devices under udev; is this controllable? What would I use the 60 tty devices for?
==Jon Smirl
[email protected]
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 1 line · Jon Smirl
Why do I have 60 tty devices under udev; is this controllable?
You can make a rule up to ignore them if you really want to, but I wouldn't recommend it.
Quoted 1 line
What would I use the 60 tty devices for?
Ask your kernel, it is what created all of those tty devices :)
greg k-h
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 2 lines · Jon Smirl
Why do I have 60 tty devices under udev; is this controllable? What would I use the 60 tty devices for?
I asked the same thing of Martin Schlemmer (the gentoo udev packager) :
Quoted 3 lines
Quoted 3 lines
I have several times pruned the tty's to tty0-tty6 and restarted. I have verified that dev-state/devices.bz2 contains only tty0-tty6, but hotplug/udev always re-creates tty's through tty63. Is that good or correct? Is it configurable?
He replied:
Quoted 3 lines
That is what is supported by the kernel, so is created. You could change the tty stuff in
/etc/udev/udev.rulesto rather call a script, and only handle what you want ...
Like Jon, I feel it's contrary to udev's charter. Is it really right?
Thanks,
Bob Barry
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 10 lines · Bob Barry
Quoted 2 lines · Jon Smirl
Why do I have 60 tty devices under udev; is this controllable? What would I use the 60 tty devices for?
I asked the same thing of Martin Schlemmer (the gentoo udev packager) :
Quoted 3 lines
Quoted 3 lines
I have several times pruned the tty's to tty0-tty6 and restarted. I have verified that dev-state/devices.bz2 contains only tty0-tty6, but hotplug/udev always re-creates tty's through tty63. Is that good or correct? Is it configurable?
Quoted 7 lines
He replied:
Quoted 3 lines
That is what is supported by the kernel, so is created. You could change the tty stuff in
/etc/udev/udev.rulesto rather call a script, and only handle what you want ...Like Jon, I feel it's contrary to udev's charter. Is it really right?
"udev's charter"? Huh?
The kernel is creating all of those tty devices. It is exporting that information to userspace. If udev it told to, it will create all of those device nodes. If you write a rule to ignore them, udev will ignore them.
What's the problem here?
And are you _sure_ you don't need those nodes? Some programs expect to see them (screen, expect, etc.)
thanks,
greg k-h
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Greg is right, this is not a udev problem it is a kernel problem. The kernel needs to be fixed to not create all of those devices. One solution might be for the kernel to start off with two tty devices. Then as each tty device is opened, the kernel driver would create another one. Any how, the place to fix this is in the kernel tty driver.
Quoted 38 lines · --- Greg KH
Quoted 7 lines · Bob Barry
Quoted 2 lines · Jon Smirl
Why do I have 60 tty devices under udev; is this controllable? What would I use the 60 tty devices for?
I asked the same thing of Martin Schlemmer (the gentoo udev packager) :
Quoted 1 line
Quoted 1 line
I have several times pruned the tty's to tty0-tty6 and restarted. I have
verified that
Quoted 1 line
Quoted 1 line
Quoted 1 line
dev-state/devices.bz2 contains only tty0-tty6, but hotplug/udev always
re-creates
Quoted 9 lines
Quoted 1 line
Quoted 1 line
tty's through tty63. Is that good or correct? Is it configurable?
He replied:
Quoted 3 lines
That is what is supported by the kernel, so is created. You could change the tty stuff in
/etc/udev/udev.rulesto rather call a script, and only handle what you want ...Like Jon, I feel it's contrary to udev's charter. Is it really right?
"udev's charter"? Huh?
The kernel is creating all of those tty devices. It is exporting that information to userspace. If udev it told to, it will create all of those device nodes. If you write a rule to ignore them, udev will ignore them.
What's the problem here?
And are you _sure_ you don't need those nodes? Some programs expect to see them (screen, expect, etc.)
thanks,
greg k-h
Quoted 9 lines
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
==Jon Smirl
[email protected]
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel