Re: [PATCH] configfs, a filesystem for userspace-driven kernel object configuration

2005-04-05 Thread Zach Brown
Matt Mackall wrote: > On Sun, Apr 03, 2005 at 12:57:28PM -0700, Joel Becker wrote: > >> An interface in /proc where the API is: >>or an ioctl(2) interface where the API is: >> >>becomes this in configfs: >> >> # cd /config/mythingy >> # mkdir foo >> # echo 1 > foo/index >>

Re: [PATCH] configfs, a filesystem for userspace-driven kernel object configuration

2005-04-05 Thread Zach Brown
Arjan van de Ven wrote: > On Sun, 2005-04-03 at 12:57 -0700, Joel Becker wrote: > >>Folks, >> I humbly submit configfs. With configfs, a configfs >>config_item is created via an explicit userspace operation: mkdir(2). >>It is destroyed via rmdir(2). The attributes appear at mkdir(2) time,

Re: [PATCH] configfs, a filesystem for userspace-driven kernel object configuration

2005-04-05 Thread Matt Mackall
On Sun, Apr 03, 2005 at 12:57:28PM -0700, Joel Becker wrote: > Folks, > I humbly submit configfs. With configfs, a configfs > config_item is created via an explicit userspace operation: mkdir(2). > It is destroyed via rmdir(2). The attributes appear at mkdir(2) time, > and can be read or

Re: [PATCH] configfs, a filesystem for userspace-driven kernel object configuration

2005-04-05 Thread Zach Brown
Arjan van de Ven wrote: On Sun, 2005-04-03 at 12:57 -0700, Joel Becker wrote: Folks, I humbly submit configfs. With configfs, a configfs config_item is created via an explicit userspace operation: mkdir(2). It is destroyed via rmdir(2). The attributes appear at mkdir(2) time, and can be

Re: [PATCH] configfs, a filesystem for userspace-driven kernel object configuration

2005-04-05 Thread Zach Brown
Matt Mackall wrote: On Sun, Apr 03, 2005 at 12:57:28PM -0700, Joel Becker wrote: An interface in /proc where the API is: or an ioctl(2) interface where the API is: becomes this in configfs: # cd /config/mythingy # mkdir foo # echo 1 foo/index # echo 3

Re: [PATCH] configfs, a filesystem for userspace-driven kernel object configuration

2005-04-05 Thread Matt Mackall
On Sun, Apr 03, 2005 at 12:57:28PM -0700, Joel Becker wrote: Folks, I humbly submit configfs. With configfs, a configfs config_item is created via an explicit userspace operation: mkdir(2). It is destroyed via rmdir(2). The attributes appear at mkdir(2) time, and can be read or

Re: [PATCH] configfs, a filesystem for userspace-driven kernel object configuration

2005-04-04 Thread Arjan van de Ven
On Sun, 2005-04-03 at 12:57 -0700, Joel Becker wrote: > Folks, > I humbly submit configfs. With configfs, a configfs > config_item is created via an explicit userspace operation: mkdir(2). > It is destroyed via rmdir(2). The attributes appear at mkdir(2) time, > and can be read or modified

Re: [PATCH] configfs, a filesystem for userspace-driven kernel object configuration

2005-04-04 Thread Arjan van de Ven
On Sun, 2005-04-03 at 12:57 -0700, Joel Becker wrote: Folks, I humbly submit configfs. With configfs, a configfs config_item is created via an explicit userspace operation: mkdir(2). It is destroyed via rmdir(2). The attributes appear at mkdir(2) time, and can be read or modified via

Re: [PATCH] configfs, a filesystem for userspace-driven kernel object configuration

2005-04-03 Thread Joel Becker
On Sun, Apr 03, 2005 at 12:57:28PM -0700, Joel Becker wrote: > I humbly submit configfs. With configfs, a configfs > ... > Patch is against 2.6.12-rc1-bk3. Updated for bk5 and the new backing_dev capabilites mask:

[PATCH] configfs, a filesystem for userspace-driven kernel object configuration

2005-04-03 Thread Joel Becker
Folks, I humbly submit configfs. With configfs, a configfs config_item is created via an explicit userspace operation: mkdir(2). It is destroyed via rmdir(2). The attributes appear at mkdir(2) time, and can be read or modified via read(2) and write(2). readdir(3) queries the list of

[PATCH] configfs, a filesystem for userspace-driven kernel object configuration

2005-04-03 Thread Joel Becker
Folks, I humbly submit configfs. With configfs, a configfs config_item is created via an explicit userspace operation: mkdir(2). It is destroyed via rmdir(2). The attributes appear at mkdir(2) time, and can be read or modified via read(2) and write(2). readdir(3) queries the list of