Re: [PATCHSET 4/4] sysfs: implement new features

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kyle Moffett
Date: Thursday, September 27, 2007 - 3:38 pm

On Sep 25, 2007, at 18:50:05, Greg KH wrote:

IMHO this would be nicer if it could reuse existing sprintf code to  
handle all the nice shiny sprintf format specifiers.  The only  
challenge would be how to dynamically build a varargs list from an  
array of component names although perhaps there could be an internal  
__csprintf function which took a callback for retrieving arguments.   
Also since all of the path components are strings I don't know that  
numeric specifiers could be made useful, so perhaps it's not the  
greatest idea.

I think the primary importance for this functionality is:


Cheers,
Kyle Moffett

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/8] sysfs: notify file on deactivation, Tejun Heo, (Thu Sep 20, 1:31 am)
[PATCHSET 4/4] sysfs: implement new features, Tejun Heo, (Thu Sep 20, 1:31 am)
[PATCH 5/8] sysfs: implement symlink auto-rename, Tejun Heo, (Thu Sep 20, 1:31 am)
[PATCH 8/8] sysfs: add copyrights, Tejun Heo, (Thu Sep 20, 1:31 am)
[PATCH 7/8] sysfs: implement batch error handling, Tejun Heo, (Thu Sep 20, 1:31 am)
[PATCH 3/8] sysfs: chain symlinks to their targets, Tejun Heo, (Thu Sep 20, 1:31 am)
[PATCH 4/8] sysfs: implement symlink auto-removal, Tejun Heo, (Thu Sep 20, 1:31 am)
Re: [PATCHSET 4/4] sysfs: implement new features, Greg KH, (Tue Sep 25, 3:50 pm)
Re: [PATCHSET 4/4] sysfs: implement new features, Tejun Heo, (Thu Sep 27, 5:24 am)
Re: [PATCHSET 4/4] sysfs: implement new features, Kyle Moffett, (Thu Sep 27, 3:38 pm)