[linux-lvm] Problem with vgscan/ vgcfgrestore

AJ Lewis lewis at sistina.com
Tue Mar 13 17:35:52 UTC 2001


On Tue, Mar 13, 2001 at 09:57:11AM +0000, Patrick Caulfield wrote:
> On Mon, Mar 12, 2001 at 11:12:08PM -0600, AJ Lewis wrote:
> > On Tue, Mar 13, 2001 at 02:14:39AM +0100, Wichert Akkerman wrote:
> > > BTW, the current LVM tools violate the FHS by putting binaries in
> > > /sbin/lvm-*/. Would you accept a patch to move that to /lib/lvm-*/
> > > instead?
> > 
> > Erm.../lib/lvm-*/?  Really?  Hmm...guess I need to read the FHS.  Anyone got
> > a pointer to that?
> 
> www.pathname.com/fhs

OK, I'm confused now.  The current LVM tools are installed in /sbin, not
/sbin/lvm-*/.  If you are getting packages from distros that place the
binaries in /sbin/lvm-*/ you need to talk to the distros.  AFAICT, the LVM
tools *should* be in /sbin

This from the current FHS 2.1 standard:

Utilities used for system administration (and other root-only commands) are
stored in /sbin, /usr/sbin, and /usr/local/sbin. /sbin typically contains
binaries essential for booting the system in addition to the binaries in
/bin. Anything executed after /usr is known to be mounted (when there are no
problems) should be placed into /usr/sbin. Local-only system administration
binaries should be placed into /usr/local/sbin

And this is what the FHS has to say about /lib:

The /lib directory contains those shared library images needed to boot the
system and run the commands in the root filesystem.

So how does having LVM binaries in /lib/lvm-*/ _not_ violate the FHS?

Regards,
-- 
AJ Lewis
Sistina Software Inc.                  Voice:  612-379-3951
1313 5th St SE, Suite 111              Fax:    612-379-3952
Minneapolis, MN 55414                  E-Mail: lewis at sistina.com
http://www.sistina.com

Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B  52A0 941E 1261 0029 2648
Get my key at: http://www.sistina.com/~lewis/gpgkey
 (Unfortunately, the PKS-type keyservers do not work with multiple sub-keys)

-----Begin Obligatory Humorous Quote----------------------------------------
Einstein said that talking to yourself is a sign of intelligence.
Answering yourself, however, is a sign of insanity.
-----End Obligatory Humorous Quote------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20010313/af8660b7/attachment.sig>


More information about the linux-lvm mailing list