Re: [RFC/T 0/6] sysfs backing store (with symlink)

From: Matt Mackall
Date: Thu Feb 05 2004 - 15:02:10 EST


On Wed, Feb 04, 2004 at 05:07:58PM +0530, Maneesh Soni wrote:
> Hi All,
>
> Please find following patches for sysfs-backing store. This version has
> support for putting symlinks also on backing store. Earlier it has support
> for text/binary attribute files.
>
> http://marc.theaimsgroup.com/?l=linux-kernel&m=107269078726254&w=2
>
> Apart from a few bug fixes, the main change in this version is for symlinks.
> sysfs_create_link() now does not create dentry/inode for the link, but
> allocates a sysfs_dirent and adds it the parent sysfs_dirent's s_children
> list. dentry/inode for the link is created when the symlink is first looked up.
>
> I request Martin and Mackall to _replace_ the old patch set with the
> new one in their trees.

I finally got around to testing this in tiny, and it works quite well.
I actually got it working in my mem=2m test case, though it was a
little tight.

It's the philosophy of -tiny to make all new features optional, so I'm
currently in the process of making it a config option and am going
back through and adding CONFIG_SYSFS_BACK. Will post a new version
as part of my next -tiny shortly.

--
Matt Mackall : http://www.selenic.com : Linux development and consulting
-
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/