From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Wed, 14 Jan 2004 21:14:17 +0000 Subject: Re: [ANNOUNCE] udev 013 release Message-Id: <20040114211417.GC6650@kroah.com> List-Id: References: <20040113235213.GA7659@kroah.com> <4004D084.1050106@vgertech.com> <20040114171527.GB5472@kroah.com> <40058086.5000106@nortelnetworks.com> <4005971F.4020608@vgertech.com> In-Reply-To: <4005971F.4020608@vgertech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Nuno Silva Cc: Chris Friesen , linux-hotplug-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org On Wed, Jan 14, 2004 at 07:23:11PM +0000, Nuno Silva wrote: > This would be nice but I think that full info for every new hotplugged > device is even better. It's only 1 line :-) Heh, care to make that one line patch? :) > 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. No, the node will not be overwritten. The mknod() syscall will fail due to the node already being present. What would happen is that your new node would not be created. > 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). Heh. I'm thinking that having such a log message would be a good thing. Now to go figure out what log level to make those messages... thanks, greg k-h ------------------------------------------------------- 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