[Ocfs2-devel] [RFC] to make files of ocfs2 under sysfs canonical

rae l crquan at gmail.com
Tue Dec 11 17:02:41 PST 2007


On Dec 12, 2007 3:06 AM, Greg KH <greg at kroah.com> wrote:
> On Fri, Dec 07, 2007 at 03:21:20PM +0800, rae l wrote:
> > On Dec 7, 2007 1:12 PM, Joel Becker <Joel.Becker at oracle.com> wrote:
> > > 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.
> > > >
> > > o2cb is, in theory, independent of the filesystem.  Thus, it doesn't
> > > necessarily belong under /sys/fs.
> > I agree it's independent, but /sys/oc2b just don't conform the uniform
> > of the linux kernel sysfs usage.
>
> And what would that be?  :)
The sysfs entries of ocfs2 are under /sys/oc2b, but I think they
generally should be under /sys/fs/oc2b, aren't they?

But as Joel said, this change will break ocfs2-tools, so the decision
was not made.

On Dec 7, 2007 5:28 PM, Joel Becker <Joel.Becker at oracle.com> wrote:
>         I mean ocfs2-tools.  We have to deal with existing
> installations, not just new tools.
To Joel: I mean this change will be done in new kernels, and new
ocfs2-tools, old kernel require old ocfs2-tools, that does not break
existing installations, is that OK?

-- 
Denis Cheng



More information about the Ocfs2-devel mailing list