Re: [linux-usb-devel] [RFC PATCH] debugfs - yet another in-kernel file system

From: Greg KH
Date: Fri Dec 10 2004 - 21:34:06 EST


On Fri, Dec 10, 2004 at 06:26:49PM -0800, Roland Dreier wrote:
> Greg> I considered adding a kobject as a paramater to the debugfs
> Greg> interface. The file created would be equal to the path that
> Greg> the kobject has. Would that work for you?
>
> I'd really prefer this to be optional at least. Somethings it's nice
> to use kobjects for, but creating hierarchies of subdirectories is not
> really one of them.

Oh yes, it would be optional. I still like the simple interface that
debugfs is providing so far, I'll just add
yet-another-way-to-create-a-file type function that takes a kobject.

Sound ok?

thanks,

greg k-h
-
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/