Re: [RFC][PATCH] fs: configfs: programmatically create config groups

From: Sebastian Andrzej Siewior
Date: Wed Nov 28 2012 - 13:52:21 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/