Skip to content

Commit 98fc9f5

Browse files
authored
Merge pull request #718 from Staubiii/patch-3
Ignore snap filesystem for mountpoint cleanup
2 parents ea681a3 + 8c92cac commit 98fc9f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mysqltuner.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1793,7 +1793,7 @@ sub get_fs_info {
17931793
$v;
17941794
} @iinfo;
17951795
foreach my $info (@iinfo) {
1796-
next if $info =~ m{(\d+)\t/(run|dev|sys|proc)($|/)};
1796+
next if $info =~ m{(\d+)\t/(run|dev|sys|proc|snap)($|/)};
17971797
if ( $info =~ /(\d+)\t(.*)/ ) {
17981798
if ( $1 > 85 ) {
17991799
badprint "mount point $2 is using $1 % of max allowed inodes";

0 commit comments

Comments
 (0)