On Wed, May 27, 2015 at 03:12:08PM +0200, Stanislav Brabec wrote: > include/sysfs.h | 20 +++++++++++++++++++- > lib/sysfs.c | 8 ++++++-- > 2 files changed, 25 insertions(+), 3 deletions(-) Applied, thanks. > static inline void sysfs_devname_to_dev_name (char *name) > +static inline void sysfs_dev_name_to_devname (char *name) but I have renamed to sysfs_devname_sys_to_dev() sysfs_devname_dev_to_sys() because the original names have been too tricky :-) I have also changed some thing in sysfs.c, it would be nice if we can keep the crazy sysfs devnames (with '!') really only in sysfs specific code and externally provide regular device names. Please, test it -- especially lsblk. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html