summaryrefslogtreecommitdiffstats
path: root/old-tests/filters/Makefile.in
diff options
context:
space:
mode:
authorJoe Thornber <thornber@redhat.com>2001-10-19 18:20:37 +0000
committerJoe Thornber <thornber@redhat.com>2001-10-19 18:20:37 +0000
commit291ec3b6c0cc22e368534075310c1d8c868ed826 (patch)
tree8e3ce7d1a8ae1f41adf05fb726306d3044054114 /old-tests/filters/Makefile.in
parentd1b28647ed4d17d22155a9da061a551572c39d2b (diff)
downloadlvm2-291ec3b6c0cc22e368534075310c1d8c868ed826.tar.gz
lvm2-291ec3b6c0cc22e368534075310c1d8c868ed826.tar.xz
lvm2-291ec3b6c0cc22e368534075310c1d8c868ed826.zip
o Filter for the dev cache that takes values from config file:
devices { # first match is final, eg. /dev/ide/cdrom # get's rejected due to the first pattern filter=["r/cdrom/", # don't touch the music ! "a/hd[a-d][0-9]+/", "a/ide/", "a/sd/", "a/md/", "a|loop/[0-9]+|", # accept devfs style loop back "r/loop/", # and reject old style "a/dasd/", "a/dac960/", "a/nbd/", "a/ida/", "a/cciss/", "a/ubd/", "r/.*/"] # reject all others } Alasdair this is ready to roll into the tools now.
Diffstat (limited to 'old-tests/filters/Makefile.in')
-rw-r--r--old-tests/filters/Makefile.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/old-tests/filters/Makefile.in b/old-tests/filters/Makefile.in
new file mode 100644
index 00000000..35fee47d
--- /dev/null
+++ b/old-tests/filters/Makefile.in
@@ -0,0 +1,21 @@
+#
+# Copyright (C) 2001 Sistina Software (UK) Limited
+#
+# This file is released under the GPL.
+#
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+
+SOURCES=\
+ rfilter_t.c
+
+TARGETS=\
+ rfilter_t
+
+include ../../make.tmpl
+
+rfilter_t: rfilter_t.o $(top_srcdir)/lib/liblvm.a
+ $(CC) -o rfilter_t rfilter_t.o -L$(top_srcdir)/lib -llvm
+