From mboxrd@z Thu Jan 1 00:00:00 1970 From: maneesh@us.ibm.com Date: Sat, 28 May 2005 05:08:14 +0000 Subject: Re: udev and sysfs permissions Message-Id: <1117256894.4297fcbe10ba2@imap.linux.ibm.com> List-Id: References: <9e47339105051915025188e535@mail.gmail.com> In-Reply-To: <9e47339105051915025188e535@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Quoting Jon Smirl : > On 5/27/05, Maneesh Soni wrote: > > It should be doable. But again this will increase the size of > sysfs_dirent > > structure. If I am not wrong we will need to save (persistent) struct > iattr > > for each sysfs_dirent there by increasing its size by 52 bytes on i386 > and > > we will need ->i_op->setattr() and ->i_op->getattr() routines for sysfs. > > Could the 52 byte allocation be deferred until someone actually > changes the sysfs attributes? Most attributes won't get changed. > Yes, this could be one of the options I can try. Thanks Maneesh ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel