Re: [ANNOUNCE] udev 013 release

From: Greg KH
Date: Wed Jan 14 2004 - 12:26:56 EST


On Wed, Jan 14, 2004 at 05:15:48AM +0000, Nuno Silva wrote:
> I'm trying udev for the first time and I must say good work!

Thanks.

> A sugestion and a question:
>
> - Make udev print a /etc/udev/udev.rules line every time a device is
> found because default behaviour is too silent and "make DEBUG=true" is
> too noisy. This would make adding our private/static entries easily.
> Something like:
>
> udev[1234]: found device BUS="scsi", SYSFS_model="CD-Writer cd4f",
> KERNEL="sr0", SYSFS_serial="AAAAAAAA"
>
> This way one can easily make entries for a device with copy+paste,
> remove a few parameters and adding a few *'s

Yeah, but what exactly would udev print out? All of the sysfs files in
the device it found? Would it print it out for every device that comes
through? Or just for ones that no rule applied to?

> - I have a USB cd-writer and udev makes /udev/sr0 but it doesn't create
> /udev/sg0. In the first run I had the hotplug packege from debian but I
> just installed hotplug-2004_01_05 and it's the same, no sg0 is created.

There is currently no sg sysfs support that works properly with udev.
The scsi people know about this and are working on fixing it.

thanks,

greg k-h
-
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/