mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
291ec3b6c0
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.
22 lines
446 B
INI
22 lines
446 B
INI
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
|
|
|
|
}
|