On Mon, Aug 07, 2006 at 08:29:57AM -0700, Chandra Seetharaman wrote: > > There's no reason that the mkdir(2) in configfs can't trigger > > an object appearing in sysfs. > > > > # mkdir config/ckrm/groups/myresourcegroup > > # ls config/ckrm/groups/myresourcegroup > > tunables status > > # ls sys/ckrm/groups/myresourcegroup > > members > > > > Or something along those lines. You'd just have that in your > > make_object() callback. > > When the user wants to move a task to a resource group they just write > the pid to the members file. So, it is natural to expect the same file > to display the current members instead of looking at a different file in > a different filesystem.
You would both read and write from the sysfs file in this scenario. You wouldn't write to a file in configfs, and read it from sysfs (or vice versa). Joel -- "For every complex problem there exists a solution that is brief, concise, and totally wrong." -Unknown Joel Becker Principal Software Developer Oracle E-mail: [EMAIL PROTECTED] Phone: (650) 506-8127 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech