]> sourceware.org Git - lvm2.git/commit
o Filter for the dev cache that takes values from config file:
authorJoe Thornber <thornber@redhat.com>
Fri, 19 Oct 2001 18:20:37 +0000 (18:20 +0000)
committerJoe Thornber <thornber@redhat.com>
Fri, 19 Oct 2001 18:20:37 +0000 (18:20 +0000)
commit291ec3b6c0cc22e368534075310c1d8c868ed826
tree8e3ce7d1a8ae1f41adf05fb726306d3044054114
parentd1b28647ed4d17d22155a9da061a551572c39d2b
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.
16 files changed:
configure
configure.in
include/.symlinks
lib/Makefile.in
lib/device/dev-cache.c
lib/device/dev-cache.h
lib/filters/filter-regex.c [new file with mode: 0644]
lib/filters/filter-regex.h [new file with mode: 0644]
lib/regex/matcher.c
lib/regex/matcher.h
lib/regex/ttree.c
lib/regex/ttree.h
old-tests/filters/Makefile.in [new file with mode: 0644]
old-tests/filters/rfilter_t.c [new file with mode: 0644]
old-tests/filters/sample.cfg [new file with mode: 0644]
old-tests/regex/matcher_t.c
This page took 0.032697 seconds and 5 git commands to generate.