Skip to contentSkip to conversation

libsysfs + namedev.c changes for naming

PATCH Greg KH 1 participant 2 messages Jan 14, 2004

lore
Share & tools
lore

Greg KH

author
#0 lore raw
Quoted 9 lines · Ananth Narayan

Hello Greg,

Here is a patch that applies on the earlier (_BIG_) patch; this solves the
naming issue for me for both the normal and klibc builds. Basically, this
patch adds a new sysfs_get_device_bus() call that can be used in cases where the sysfs part of the kernel hasn't got around creating the device link in the "bus" subsystem - reason why sysfs_device->bus shows up as
"unknown" rather than the actual bus name.

Tested for a USB storage device with a "LABEL" rule

Can you send me a big all-in-one patch that I can apply on top of the 013 release to test out?

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

author
#1 lore raw
Quoted 9 lines · Ananth Narayan
Quoted 4 lines · On Wed, 14 Jan 2004 Greg KH wrote :

On Tue, Jan 13, 2004 at 11:53:49PM -0000, Ananth Narayan wrote:

Can you send me a big all-in-one patch that I can apply on top of the 013 release to test out?

Sure! Here it is (tested and applies on udev-013) :)

Yeah it works! It also cut down on the time it takes to run the test script a _lot_, very nice job.

I've added this to the bk tree, and will show up in the next release.

Thanks again.

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel