[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] vgscan & CDROM Solved

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.


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/

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]