From: Luca Berra <bluca@comedia.it>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] determing lvm support
Date: Sun Dec 21 02:09:01 2003 [thread overview]
Message-ID: <20031221080801.GJ24434@percy.comedia.it> (raw)
In-Reply-To: <20031220233051.I21022@uk.sistina.com>
On Sat, Dec 20, 2003 at 11:30:51PM +0000, Alasdair G Kergon wrote:
>On Sat, Dec 20, 2003 at 02:35:41PM +0100, Luca Berra wrote:
>> 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.
>
>Look at using dm_log_init() to provide a function that
>suppresses all output.
I'll look at it, but it seems i cannot restore the previous log function
then, i think it's easier to bypass the lib for my particular case.
Thanks a lot for your answers.
Regards,
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
next prev parent reply other threads:[~2003-12-21 2:09 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
2003-12-20 17:32 ` Alasdair G Kergon
2003-12-21 2:09 ` Luca Berra [this message]
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=20031221080801.GJ24434@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