From: Jose Luis Domingo Lopez <linux-lvm@24x7linux.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] vgscan messages regarding read-only cdrom
Date: Mon Dec 1 13:56:02 2003 [thread overview]
Message-ID: <20031201195526.GB4846@localhost> (raw)
In-Reply-To: <20031201100842.GA3038@glorybox.de>
On Monday, 01 December 2003, at 11:08:42 +0100,
Kai Weber wrote:
> devices {
> dir = "/dev"
> scan = [ "/dev" ]
> filter = [ "r|cdrom|" ]
> cache = "/etc/lvm/.cache"
> write_cache_state = 1
> }
>
It seems you can have just one instance of the "filter" directive, where
you must put every filter you want to apply for devices. For example,
this is what I have in my configuration file:
filter = [ "r|hdd|", "r|cdrom|", "r|md|", "a|.*|" ]
I accept every block device under /dev, but previously exclude /dev/hdd
(my CD-ROM device), /dev/cdrom al MD metadevices from the list. It works.
Greetings.
PS: the man page for lvm.conf doesn't explicitily says you can have just
one "filter" directive, neither the opposite, although the sample
"lvm.conf" bundled with sources and packages seemd to give a hint about
the correct syntax. Would it be necessary to be more specific about that ?
Greetings.
--
Jose Luis Domingo Lopez
Linux Registered User #189436 Debian Linux Sid (Linux 2.6.0-test10-mm1)
next prev parent reply other threads:[~2003-12-01 13:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-30 12:59 [linux-lvm] vgscan messages regarding read-only cdrom Kai Weber
2003-11-30 15:26 ` Luca Berra
2003-12-01 4:11 ` Kai Weber
2003-12-01 13:56 ` Jose Luis Domingo Lopez [this message]
2003-12-01 19:04 ` Kai Weber
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=20031201195526.GB4846@localhost \
--to=linux-lvm@24x7linux.com \
--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 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.