lkml.org 
[lkml]   [2005]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] configfs, a filesystem for userspace-driven kernel object configuration
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 read or modified via read(2) and write(2). readdir(3)
>>queries the list of items and/or attributes.
>> The lifetime of the filesystem representation is completely
>>driven by userspace. The lifetime of the objects themselves are managed
>>by a kref, but at rmdir(2) time they disappear from the filesystem.
>
>
> does that mean you rmdir a non-empty directory ??

Yeah, but only attributes and default groups are automatically torn
down. You can't rmdir() an item that is the destination of links and
you can't rmdir() groups that still contain items.

- z
-
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/

\
 
 \ /
  Last update: 2005-04-06 13:31    [W:0.049 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site