From: Chris Osicki <lvm@osk.ch>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] vgscan & CDROM Solved
Date: Wed, 31 Aug 2005 23:10:44 +0200 [thread overview]
Message-ID: <20050831211044.GB11522@gutek> (raw)
In-Reply-To: <20050831154651.GD15141@agk.surrey.redhat.com>
Thank you for your answer Alasdair.
That means my filter line should just read:
filter = [ "r|/dev/cdrom.*|", "r|/dev/cdroms.*|" ]
which means "skip (reject) all devices matching those two regexp
and scan (allow) anything else and ir works for me.
Regards,
Chris
On Wed, Aug 31, 2005 at 04:46:51PM +0100, Alasdair G Kergon wrote:
> And only *the first* 'filter=' setting gets used - others
> are ignored.
>
> For now, I've added a warning to the example.conf comments.
>
> We'll update the code to handle this better some day,
> probably by concatenating items with identical names into
> lists as we load them in.
>
> [If anyone wants to offer a patch, it starts with _file()
> in lib/config/config.c: before the parser adds each new node
> to the tree, check for a duplicate identifier within the
> same section and append/convert the entries as appropriate.]
>
> Alasdair
> --
> agk@redhat.com
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
next prev parent reply other threads:[~2005-08-31 21:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-29 20:05 [linux-lvm] vgscan & CDROM Solved Chris Osicki
2005-08-31 15:46 ` Alasdair G Kergon
2005-08-31 21:10 ` Chris Osicki [this message]
2005-08-31 21:13 ` Alasdair G Kergon
2005-08-31 21:31 ` Chris Osicki
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=20050831211044.GB11522@gutek \
--to=lvm@osk.ch \
--cc=linux-lvm@redhat.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 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.