diff options
author | Joe Thornber <thornber@redhat.com> | 2001-10-19 18:20:37 +0000 |
---|---|---|
committer | Joe Thornber <thornber@redhat.com> | 2001-10-19 18:20:37 +0000 |
commit | 291ec3b6c0cc22e368534075310c1d8c868ed826 (patch) | |
tree | 8e3ce7d1a8ae1f41adf05fb726306d3044054114 /old-tests/filters/Makefile.in | |
parent | d1b28647ed4d17d22155a9da061a551572c39d2b (diff) | |
download | lvm2-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.in | 21 |
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 + |