[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1193678967.3383.81.camel@localhost.localdomain>
Date: Mon, 29 Oct 2007 12:29:27 -0500
From: James Bottomley <James.Bottomley@...elEye.com>
To: Jeff Garzik <jeff@...zik.org>
Cc: Cornelia Huck <cornelia.huck@...ibm.com>,
Kay Sievers <kay.sievers@...y.org>, Greg KH <greg@...ah.com>,
linux-scsi <linux-scsi@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] sysfs: add filter function to groups
On Mon, 2007-10-29 at 13:27 -0400, Jeff Garzik wrote:
> James Bottomley wrote:
> > 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?
Yes, that comes with the bitmap manipulation code. There will be a way
to add and remove runtime visibility. I just wanted to get the basic
concept agreed to first.
James
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists