From a5362c619e71bcc997904e441ebaac8b1ff1a7d4 Mon Sep 17 00:00:00 2001 From: Tobias Hintze Date: Wed, 16 Mar 2005 13:39:41 +0000 Subject: [PATCH] Tobias Hintze : small fix for LVM2: prevent inappropriate scanning of nbd's [2005020820152022772] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@5687 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/lvm2/lvm_conf.patch | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 package/base/lvm2/lvm_conf.patch diff --git a/package/base/lvm2/lvm_conf.patch b/package/base/lvm2/lvm_conf.patch new file mode 100644 index 000000000..7d08aef52 --- /dev/null +++ b/package/base/lvm2/lvm_conf.patch @@ -0,0 +1,35 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/base/lvm2/lvm_conf.patch +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +Tobias Hintze : + small fix for LVM2: + prevent inappropriate scanning of /dev/discs/ (devfs); + only scan /dev/ide and /dev/scsi by default + +--- ./doc/example.conf 2004-04-16 18:11:34.000000000 +0200 ++++ ./doc/example.conf 2005-01-17 15:10:59.320475111 +0100 +@@ -37,7 +37,7 @@ + # that the cache file gets regenerated (see below). + + # By default we accept every block device: +- filter = [ "a/.*/" ] ++ filter = [ "r/nbd.*/", "a/.*/" ] + + # Exclude the cdrom drive + # filter = [ "r|/dev/cdrom|" ]