Once again, I've not sent the mail to the correct address, so I forward it to keep some consistancy to the thread.

I apologize.


  --------------
/
Le 05.08.2005 14:29:01, Jean-Luc Coulon (f5ibh) a écrit :
Le 05.08.2005 12:17:05, Marco d'Itri a écrit :
On Aug 05, "Jean-Luc Coulon (f5ibh)" <[EMAIL PROTECTED]>
wrote:

> I've remarked that my 2 SATA drives (/dev/sda and /dev/sdb) are
created
> with the cdrom group.
I cannot explain this. The only relevant rule is this one:

BUS=="scsi", SYSFS{type}=="5",  GROUP="cdrom"

and udevinfo shows that the type is 0.

I've the clue for that. I've done a mistake during the tests this morning, I've copied/pasted your changes to permissions.rules and as the line was splitted in the mail, I forgot the continuation character ("\") and so I've got GROUP="cdrom" on a separate line. Like that:

BUS=="ide", KERNEL=="hd[a-z]", SYSFS{removable}="1", \
  PROGRAM="sleep 4; /bin/cat /proc/ide/%k/media", RESULT=="cdrom*",
  GROUP="cdrom"

I've restored the correct syntax and my SATA drives are correctly assigned to the 'disk' group.

Unfortunately, the /dev/hda is again in the 'floppy' group.

I cannot remember exactly but I think there are some problems using sleep early in teh boot process.


--
ciao,
Marco


--
Jean-Luc

\__________________

Attachment: pgpfO6hFe3Vyp.pgp
Description: PGP signature

Reply via email to