[linux-lvm] vgscan & CDROM Solved

Chris Osicki lvm at osk.ch
Wed Aug 31 21:10:44 UTC 2005


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 at redhat.com
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




More information about the linux-lvm mailing list