Re: cdrecord dev=ATA cannont scanbus as non-root

From: J.A. Magallon
Date: Tue Nov 30 2004 - 12:56:31 EST



On 2004.11.30, Jan Engelhardt wrote:
>
> >I use udev, so there is no hd[a-d] nodes on /dev. And cdrecord
> >_EXITS_ as soon as it founds a non-existent device !!!
>
> You can find something that does not exist?

Err, as it tries to open a device and it does not exist.
I tries sequentially
hda, hdb, hdc.. up to 256 until it finds something to open.
If it exists, but has not permissions, it keeps trying on the next.
But if it is not present, cdrecord gives up.

--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandrakelinux release 10.2 (Cooker) for i586
Linux 2.6.10-rc2-jam3 (gcc 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)) #1


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/