lkml.org 
[lkml]   [2000]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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.

Linus?

Regards,

Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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