Re: rawhide report: 20041007 changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le jeudi 07 octobre 2004 Ã 08:58 -0400, Build System a Ãcrit :
>  
> udev-032-9
> ----------
> * Wed Oct 06 2004 Harald Hoyer <harald@xxxxxxxxxx> - 032-9
> 
> - added check-cdrom.sh for nice cdrom symlinks

Nice.
But I have ide-cd as module (why not?).
At boot time (udevstart) I have a lot of :
/bin/cat: /proc/sys/dev/cdrom/info: No such file or directory

This little patch (see attachment) seems to works.
--- check-cdrom.sh.orig	2004-10-06 17:38:55.000000000 +0200
+++ check-cdrom.sh	2004-10-08 08:25:23.000000000 +0200
@@ -6,7 +6,7 @@
 what="$2"
 found=0
 
-/bin/cat /proc/sys/dev/cdrom/info | { 
+/bin/cat /proc/sys/dev/cdrom/info 2> /dev/null | { 
     while read line; do
 	if [ "$found" = "0" -a "${line/drive name:}" != "$line" ]; then
 	    set ${line/drive name:}	

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux