PATCH: build-initrd.sh add device nodes sr[0|1] | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
The attached patch adds device nodes for two CD/DVD drives to build-initrd script. Modern libata drivers in linux kernel set up IDE drives as SCSI devices. Running build-initrd script on such a system fails because the old device node name scd is not used anymore (it's left in the script for backwards compatibility). -- left blank, right bald
--- build-initrd.sh.orig 2007-05-14 14:18:12.000000000 +0200
+++ build-initrd.sh 2007-09-24 11:57:42.530498135 +0200
@@ -718,6 +718,8 @@
maybeMakeDiskNode sdg 8 96 ""
maybeMakeDiskNode sdh 8 112 ""
maybeMakeDiskNode scd 11 0 0
+ maybeMakeDiskNode sr0 11 0 0
+ maybeMakeDiskNode sr1 11 1 0
maybeMakeDiskNode md 9 0 0
maybeMakeDiskNode fd 2 0 0
Attachment:
pgpsOGDW4cqfX.pgp
Description: PGP signature
[Home] [Kernel] [Linux Crypto] [Gnu Crypto] [Gnu Classpath] [Netfilter] [Bugtraq] [Network Security Reading]