Merge pull request #718 from Staubiii/patch-3
Ignore snap filesystem for mountpoint cleanup
This commit is contained in:
commit
98fc9f5a89
1 changed files with 1 additions and 1 deletions
|
@ -1793,7 +1793,7 @@ sub get_fs_info {
|
||||||
$v;
|
$v;
|
||||||
} @iinfo;
|
} @iinfo;
|
||||||
foreach my $info (@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 ( $info =~ /(\d+)\t(.*)/ ) {
|
||||||
if ( $1 > 85 ) {
|
if ( $1 > 85 ) {
|
||||||
badprint "mount point $2 is using $1 % of max allowed inodes";
|
badprint "mount point $2 is using $1 % of max allowed inodes";
|
||||||
|
|
Loading…
Reference in a new issue