PATCH: build-initrd.sh add device nodes sr[0|1]

markus reichelt <[email protected]>
Newsgroups gmane.linux.cryptography
Organization still stuck in reorganization mode
Message-ID <[email protected]>
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
patch.build-initrd.sh.sr-nodes (text/plain, 406 B)
--- 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
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFG948YLMyTO8Kj/uQRAgFAAJ44thxeNsZ5mBYUjiUyBCMkV40WIQCfTI3e
oVaWzxftGZYLKELvIT5bqzY=
=uG7k
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.