Denis Cheng
2007-Dec-06 20:20 UTC
[Ocfs2-devel] [RFC] to make files of ocfs2 under sysfs canonical
ocfs2 uses a subsystem under sysfs: /sys/o2cb, which is not good, the canonical use of sysfs is one kset under /sys/fs, like the approach gfs2 does. if someone will agree my opinion, I can improve this code. -- Denis Cheng
Joel Becker
2007-Dec-06 21:12 UTC
[Ocfs2-devel] [RFC] to make files of ocfs2 under sysfs canonical
On Fri, Dec 07, 2007 at 12:22:17PM +0800, Denis Cheng wrote:> ocfs2 uses a subsystem under sysfs: /sys/o2cb, which is not good, > > the canonical use of sysfs is one kset under /sys/fs, like the approach > gfs2 does. > > if someone will agree my opinion, I can improve this code.o2cb is, in theory, independent of the filesystem. Thus, it doesn't necessarily belong under /sys/fs. The bigger problem is that there are tools expecting /sys/o2cb to be there. We can't just drop it. Joel -- "Drake! We're LEAVING!" Joel Becker Principal Software Developer Oracle E-mail: joel.becker@oracle.com Phone: (650) 506-8127