Ignore snap filesystem for mountpoint cleanup
This commit is contained in:
parent
4a1a7f40c9
commit
8c92cac191
1 changed files with 1 additions and 1 deletions
|
@ -1793,7 +1793,7 @@ sub get_fs_info {
|
|||
$v;
|
||||
} @iinfo;
|
||||
foreach my $info (@iinfo) {
|
||||
next if $info =~ m{(\d+)\t/(run|dev|sys|proc)($|/)};
|
||||
next if $info =~ m{(\d+)\t/(run|dev|sys|proc|snap)($|/)};
|
||||
if ( $info =~ /(\d+)\t(.*)/ ) {
|
||||
if ( $1 > 85 ) {
|
||||
badprint "mount point $2 is using $1 % of max allowed inodes";
|
||||
|
|
Loading…
Reference in a new issue