[lkml]   [2000]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] devfs support for LVM
Christoph Hellwig writes:
> On Tue, Sep 05, 2000 at 04:41:26PM -0600, Richard Gooch wrote:
> > Christoph Hellwig writes:
> > > Hi Linus,
> > > I've updated my devfs for lvm patch to 2.4.0-test8pre.
> > > Here it is.
> > [...]
> > > + lvm_devfs_handle = devfs_register(
> > > + 0 , "lvm", 0, 0, LVM_CHAR_MAJOR,
> >
> > Does this really have to go into /dev rather than a subdirectory?
> Yes. The userlevel tool can't handle other things without recompiling.

Don't worry about that. I can add a rule to devfsd so it creates
appropriate compatibility entries.

> I can't use /dev/lvm, too because this is the name of the control file
> without lvm (and the lvm tools will barf if this is a dircetory.

Well, how about another directory name? Can you think of something
else that would be appropriate? And no, "LVM" is not on!

But we really should stop namespace pollution in /dev, and doing it
before 2.4 is released is the best time. In fact, given that this
patch has only gone in recently, I'd be inclined to go with the names
I suggested and just break the userspace tools. People have to expect
that things may change before a production kernel is released.



To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.085 / U:2.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site