projects
/
MojoFacets.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
extract number of drives, cache and log from pool name
[MojoFacets.git]
/
public
/
code
/
pool.drives,cache,log.pl
1
foreach my $v ( @{ $row->{'pool'} } ) {
2
$update->{$_} = $v =~ s/(\+$_)/$1/ foreach ( 'cache', 'log' );
3
$update->{drives} = $v =~ s/sd/sd/g;
4
}
5