Messages in this thread | | | Date | Wed, 28 Nov 2012 19:52:29 +0100 | From | Sebastian Andrzej Siewior <> | Subject | Re: [RFC][PATCH] fs: configfs: programmatically create config groups |
| |
On 11/28/2012 03:24 PM, Michal Nazarewicz wrote: > On Wed, Nov 28 2012, Sebastian Andrzej Siewior wrote: >> <function_name>-<common_name> >> /functions/acm-function/ >> >> instead of >> <common_name> >> /functions/function1/ >> +name >> with attribute file named "name" which contains the name of the >> function (i.e. acm). My point is to keep "name" in the directory name >> instead having an extra attribute. > > Right. But as I've suggested: > > mkdir functions/<function-name> > mkdir functions/<function-name>/<common-name> > > which IMO is easier to handle in kernel (no parsing) and looks nicer in > user space.
Just posted an example. Please tell me what you think.
Sebastian
| |