All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell Coker <russell@coker.com.au>
To: Tamas Gergely <dice@mfa.kfki.hu>
Cc: Linux-LVM@sistina.com
Subject: Re: [linux-lvm] Debian packaging
Date: Thu, 14 Dec 2000 17:22:17 +0100	[thread overview]
Message-ID: <00121417221738.00826@lyta> (raw)
In-Reply-To: <Pine.LNX.4.30.0012141645040.17005-100000@falka.mfa.kfki.hu>

On 2000-12-14 16:50, Tamas Gergely wrote:
>As I noticed the LVM utilities are placed under /usr in this LVM.DEB .

That's what the old package does.

>Wouldn't it be better to use '/' as root not '/usr'?

That's what my development packages (which I have shared with no-one) do.

>I mean, it would be better to place the utilities into /sbin instead of
>/usr/sbin.

Depends.  One thing I would like to do is go through the utilities and put 
things that are needed to kickstart a system or to recover a hosed system 
into /sbin .  Then things that aren't so critical to the boot process (lvmsar 
springs to mind) belong in /usr/sbin .

>(on many systems /usr is located on an LV. But activiting/disactivating
>using vgchange is impossible after unmounting /usr)

Yes.  My package will differ quite a bit from the existing Debian package.  
Also I plan to make everything use shared libraries.  ls, cp, and mv are not 
statically linked so I don't think that there is any need for statically 
linked lvm utilities.  My lvm package will be considerably smaller than the 
current one (which is necessary for boot support).

I would appreciate any suggestions on this.  Also if anyone is brave and 
wants to beta-test my packages then I would be very interested in hearing 
from them.

One other thing, it seems that the protocol is changing often.  How should 
this be managed in Debian packages?  I had thought of doing lvm22 and lvm24 
as package names for the 2.2.x and 2.4.x kernels, but now I get the 
impression that the interfaces will change between those series.  Also 0.8.1, 
0.9, and 0.8i all seem to have different protocol versions.

This has two problems, one is that users won't know which one they need, the 
other is how to manage an upgrade of a kernel!

I was thinking that perhaps what I should do is have /sbin/lvm-ver and 
/lib/lvm-ver directories where "ver" is the version of LVM in question.  Then 
at boot time there is a script that determines the version of LVM in the 
kernel and creates sym-links from /sbin and /lib to the correct directories.  
This is REALLY ugly, but it enables a user to cleanly have a machine that can 
be booted on 2.2 or 2.4 kernel and just work each time you boot it.

Any better suggestions?

-- 
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page

  reply	other threads:[~2000-12-14 16:22 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-13 20:15 [linux-lvm] Debian packaging Russell Coker
2000-12-14 15:50 ` Tamas Gergely
2000-12-14 16:22   ` Russell Coker [this message]
2000-12-17  2:00     ` Ragnar Kjørstad
2000-12-17 10:49       ` Claudio Matsuoka
2000-12-17  9:47     ` Luca Berra
2000-12-17 18:00     ` Andreas Dilger
2000-12-18  1:00       ` Claudio Matsuoka
2000-12-19 20:24       ` Fionn Behrens
2000-12-19 22:51         ` Andreas Dilger
2000-12-20  8:43           ` Ulf Bartelt
2000-12-20 15:04           ` Claudio Matsuoka
2000-12-20 21:53         ` Russell Coker
2000-12-20 22:30           ` lewis
2000-12-20 23:15             ` Andreas Dilger
2000-12-14 17:43   ` HIBINO Kei
2000-12-15 17:58     ` Gergely Tamas
2000-12-15 22:10       ` Ragnar Kjørstad
2000-12-15 23:13         ` Jay Weber
2000-12-16  7:19         ` Gergely Tamas
2000-12-14 16:46 ` lewis
2000-12-15  6:51   ` Russell Coker
2000-12-15 18:15     ` lewis
2000-12-17 20:04     ` Tom Lees
  -- strict thread matches above, loose matches on Subject: below --
2000-12-20 15:18 Claudio Matsuoka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=00121417221738.00826@lyta \
    --to=russell@coker.com.au \
    --cc=Linux-LVM@sistina.com \
    --cc=dice@mfa.kfki.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.