Linux LVM users
 help / color / mirror / Atom feed
From: Luca Berra <bluca@comedia.it>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] determing lvm support
Date: Sat Dec 20 07:37:01 2003	[thread overview]
Message-ID: <20031220133541.GF24434@percy.comedia.it> (raw)
In-Reply-To: <20031220123023.H21022@uk.sistina.com>

On Sat, Dec 20, 2003 at 12:30:23PM +0000, Alasdair G Kergon wrote:
>On Fri, Dec 19, 2003 at 04:47:18PM -0800, Rich Turner wrote:
>> lvm2:
>> look for "vgcreate" command and
>Better to check for the new 'lvm' base command: other commands are
>links to it: check that running 'lvm version' produces complete output.
>That will also confirm that device-mapper is available in the live
>kernel and that /dev/mapper/control is set up correctly.
>(See device-mapper/scripts/devmap_mknod.sh)
>
Besides that is there any way to reliably check if dm is loaded from a
c program, besides calling dm_task_run(), which is noisy if the driver
is not loaded? I don't want the user to see an error if she's not
running device-mapper.
it the moment i try to open dm_dir()/control, is that ok?

L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

  reply	other threads:[~2003-12-20  7:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-19 18:49 [linux-lvm] determing lvm support Rich Turner
2003-12-20  6:31 ` Alasdair G Kergon
2003-12-20  7:37   ` Luca Berra [this message]
2003-12-20 17:32     ` Alasdair G Kergon
2003-12-21  2:09       ` Luca Berra
2003-12-21 10:02         ` Alasdair G Kergon
2003-12-22 10:05   ` Rich Turner
2003-12-22 18:08     ` Alasdair G Kergon
2003-12-20 12:55 ` Micah Anderson

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=20031220133541.GF24434@percy.comedia.it \
    --to=bluca@comedia.it \
    --cc=linux-lvm@sistina.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox