FS#15715 - [initscripts] Make dynamic initilization code for consoles.

Attached to Project: Arch Linux
Opened by Gerardo Exequiel Pozzi (djgera) - Wednesday, 29 July 2009, 05:26 GMT
Last edited by Thomas Bächler (brain0) - Wednesday, 29 July 2009, 07:28 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Aaron Griffin (phrakture)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: This changes the currect code for console initialization to make it dynamic.
For example when boot on UML the number of consoles is 15 and not 63.

Just change the "seq 0 63" by a shell expansion "/dev/tty[0-9]*"

Without this, booting on system that don't have 64 VT will make regular files under /dev/ and error messages at startup.


Additional info:
initscripts-2009.07-3
This task depends upon

Closed by  Thomas Bächler (brain0)
Wednesday, 29 July 2009, 07:28 GMT
Reason for closing:  Implemented
Additional comments about closing:  Fixed in initscripts-git
Comment by Roman Kyrylych (Romashka) - Wednesday, 29 July 2009, 07:13 GMT
Nice catch!
Comment by Thomas Bächler (brain0) - Wednesday, 29 July 2009, 07:28 GMT
Applied, thanks.

Loading...