View Single Post

   
  #6 (permalink)  
Old 02-20-2008, 12:02 PM
pg
 
Posts: n/a
Default Re: slack 10.2 and udev-064-i486-2 probs

On Sat, 26 Nov 2005 13:34:11 +1000, richard wrote:

> pg wrote:
>> It is executable and is called by rc.S.

>
> How do you know it is being run? Without the script outputting with echo
> a message to the first console you cannot tell for sure. What does dmesg
> say? Does the following text appear on the first console?
> Initializing udev dynamic device directory.
>
> Have you altered the rc.udev file?
>
> Richard



yes it is run at boot, the echo'd udev msg is displayed and I have not
altered the rc in anyway.

Been reading up a bit on on udev and rules, I see it says it'll stop
processing rules for devices when the first rule is applied, ignoring any
subsequent rules for said devices. When I check the default udev.rules it
has rulues with apply to the device in question, my rom drives, which are
hda and hdb. Here is th first rule that applies;

# all block devices
SUBSYSTEM="block", GROUP="disk"

here is the second;
# permissions for IDE CD devices
BUS="ide", KERNEL="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media",RESULT="cdrom*", NAME="%k", GROUP="cdrom", MODE="0660"


Thought i was onto something until I remembered the rules get applied if i run udevstart after boot.

Reply With Quote