mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Skip CD mounts
This commit is contained in:
@@ -352,6 +352,10 @@ foreach my $m (@mounted) {
|
||||
# Skip /snap mounts
|
||||
next;
|
||||
}
|
||||
if ($m->[1] =~ /^\/dev\/sr/) {
|
||||
# Skip CDs
|
||||
next;
|
||||
}
|
||||
# Get the size - for ZFS mounts, this comes from the underlying
|
||||
# total pool size and free
|
||||
my ($t, $f);
|
||||
|
||||
Reference in New Issue
Block a user