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

Re: udev and proc files



Le samedi 16 octobre 2004 Ã 19:26 +1000, Russell Coker a Ãcrit :
> A copy of bash which is spawned by udev attempts an ioctl access 
> to /proc/ide/ide0/hda/media.  This access doesn't do any harm, but possibly 
> indicates some other problem, is bash supposed to be accessing that file?

from /sbin/start_udev :
        ide_scan() {
            if [ ! -d /proc/ide ]; then
                return 1
            fi
            for i in /proc/ide/*/media; do
                read media < "$i"
                case "$media" in
                    disk)
                        module=ide-disk
                        ;;
        	    (snip)
                esac
                /sbin/modprobe $module
            done
            return 0
        }

/sbin/start_udev is run once at boot time.

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]   [Thread Index] [Date Index] [Author Index]