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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux