From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nuno Silva Date: Wed, 14 Jan 2004 19:23:11 +0000 Subject: Re: [ANNOUNCE] udev 013 release Message-Id: <4005971F.4020608@vgertech.com> List-Id: References: <20040113235213.GA7659@kroah.com> <4004D084.1050106@vgertech.com> <20040114171527.GB5472@kroah.com> <40058086.5000106@nortelnetworks.com> In-Reply-To: <40058086.5000106@nortelnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Chris Friesen Cc: Greg KH , linux-hotplug-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Hi Chris! Hi Greg! Chris Friesen wrote: > Greg KH wrote: > >> 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? > > > > Maybe for ones with a matching rule, you could print something like: > > udev[1234]: new device found matching rule , creating device node > > > For ones that don't match any rules, you could dump out all the info: > > udev[1234]: new device found with no matching rules, device info: blah blah > This would be nice but I think that full info for every new hotplugged device is even better. It's only 1 line :-) Lame people, like myself, will make this rule: BUS="scsi", SYSFS_model="CD-Writer cd4f*", KERNEL="sr*", NAME="cdrw" When I connect a second drive (same model) /udev/cdrw will be overwritten. So I'd want to check the logs, find some difference between the two and create a new entry "myfriends-cdrw". (I know that NAME="cdrw%n" would work but that depends on the order you plug things). Regards, Nuno Silva ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel