From 87bb6a4a81d6ee432ff053ee0974c6269a2940c4687393367a96f52dc344c593 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 9 Apr 2014 09:58:58 +0000 Subject: [PATCH] Accepting request 229357 from home:wanglh:branches:Base:System bnc#862403, modify lvm.conf to add filter to exclude floppy and cdrom OBS-URL: https://build.opensuse.org/request/show/229357 OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=87 --- lvm.conf | 4 ++-- lvm2.changes | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lvm.conf b/lvm.conf index da3629f..eebd4d6 100644 --- a/lvm.conf +++ b/lvm.conf @@ -71,8 +71,8 @@ devices { # is an 'r' pattern for any of the names it is rejected; otherwise it is # accepted. - # By default we accept every block device except udev names: - filter = [ "r|/dev/.*/by-path/.*|", "r|/dev/.*/by-id/.*|", "a/.*/" ] + # By default we accept every block device except udev names, floppy and cdrom drives: + filter = [ "r|/dev/.*/by-path/.*|", "r|/dev/.*/by-id/.*|","r|/dev/fd.*|", "r|/dev/cdrom|", "a/.*/" ] # Exclude the cdrom drive # filter = [ "r|/dev/cdrom|" ] diff --git a/lvm2.changes b/lvm2.changes index 9fe42fa..5a38a31 100644 --- a/lvm2.changes +++ b/lvm2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 8 08:47:51 UTC 2014 - lwang@suse.com + +- bnc#862403, modify lvm.conf to add filter to exclude floppy and cdrom + ------------------------------------------------------------------- Tue Mar 25 09:08:16 UTC 2014 - dmzhang@suse.com