On 8/4/06, Chandra Seetharaman <[EMAIL PROTECTED]> wrote:
>
> I think there are multiple limitations in /proc (that i can immediately
> think of) that doesn't allow this type of usage (correct me if these are
> available):
>  - user creating directories (must have)

Only if you insist on using mkdir/rmdir to create/delete resource groups.

I've been playing with a container abstraction with a hierarchical
directory structure in /proc, where instead of using mkdir to create a
child container (resource group) you write to a ".create" file in its
parent's directory; similarly you write its handle to the ".delete"
file in the parent to delete it. Maybe not quite as elegant as being
able to use mkdir/rmdir, but way simpler to implement in the kernel.

Paul

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to