Le 28.08.2005 13:07:37, Fredrik Tolf a écrit :On Sun, 2005-08-28 at 12:17 +0200, Chris Osicki wrote: > Hi > > I seam not to be able to convince vgscan to let my cdroms alone. > In the file /etc/lvm/lvm.conf I have this filter: > > [ "r|/dev/cdrom.*" ]
Try it without the dot: [ "r|/dev/cdrom*" ][ "r|/dev/cdrom*|"] maybe ?
You can even be more restrictive/explicit:
filter = [ "r|/dev/cdrom*|", "r|/dev/cdrw*|", "r|/dev/dvd*|", "r|/dev/hd[ab]|" ]
i don't have the code at hand, but, if they are regular expression "/dev/cdrom*" would match /dev/cdrom /dev/cdromm /dev/cdrommm /dev/cdrommmm and so on..
see man 7 regex
--
Luca Berra -- bluca comedia it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \