1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/old-tests/regex
Joe Thornber 291ec3b6c0 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.
2001-10-19 18:20:37 +00:00
..
dev_patterns o First pass at the regex code. lib/regex/matcher takes an array of regex's 2001-10-19 14:36:57 +00:00
devices.list o First pass at the regex code. lib/regex/matcher takes an array of regex's 2001-10-19 14:36:57 +00:00
Makefile.in o First pass at the regex code. lib/regex/matcher takes an array of regex's 2001-10-19 14:36:57 +00:00
matcher_t.c o Filter for the dev cache that takes values from config file: 2001-10-19 18:20:37 +00:00
parse_t.c o First pass at the regex code. lib/regex/matcher takes an array of regex's 2001-10-19 14:36:57 +00:00