James Bottomley wrote:
quoted text > visibility and creation are the same thing, aren't they? An invisible
> attribute doesn't appear in the sysfs directory, so it's equivalent to
> the file for it not being created.
What about the case where it's visible at creation time, but then needs
to be made selectively invisible later on?
That implies either a remove operation or dentry checks on each lookup?
Jeff
-
unsubscribe notice To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Messages in current thread:
Re: [PATCH] sysfs: add filter function to groups , Jeff Garzik , (Mon Oct 29, 1:27 pm)