rawhide report: 20041007 changes
Harald Hoyer
harald at redhat.com
Fri Oct 8 14:39:04 UTC 2004
Fixed in udev-034-2. Thanks!
Matias Féliciano wrote:
> Le jeudi 07 octobre 2004 à 08:58 -0400, Build System a écrit :
>
>>
>>udev-032-9
>>----------
>>* Wed Oct 06 2004 Harald Hoyer <harald at redhat.com> - 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:}
>
--
Harald Hoyer, Senior Software Engineer <harald at redhat.com>
gpg fingerprint E930 20E6 CCF8 C76C 8582 CF9F B7B7 45C2 C557 5542
http://harryh.homelinux.org http://people.redhat.com/harald
Red Hat GmbH : http://www.redhat.de
More information about the fedora-devel-list
mailing list