Skip to content
Snippets Groups Projects
  • Joe Thornber's avatar
    4ab20322
    o Filter for the dev cache that takes values from config file: · 4ab20322
    Joe Thornber authored
    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.
    4ab20322
    History
    o Filter for the dev cache that takes values from config file:
    Joe Thornber authored
    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.