Patch for fsautoresize
Here the patch
##########################
--- debian-edu-fsautoresize_orig 2015-09-16 11:50:04.207564573 +0200
+++ debian-edu-fsautoresize_mod 2015-09-16 11:47:38.885386307 +0200
@@ -189,11 +189,12 @@
sub supported_mountpoints {
my %mountpoints;
my %devices;
- open(M, "/proc/mounts") || die "Unable to open /proc/mounts";
+ open(M, "/etc/fstab") || die "Unable to open /etc/fstab";
while (<M>) {
chomp;
my @f = split(/\s+/);
my $device = $f[0];
+ next if ( $f[0] eq '#' );
my $mountpoint = $f[1];
my $typename = $f[2];
next unless (exists $fsops{$typename});
###################
Regards
Giorgio
--
Giorgio Pioda - Sysadmin SPSE-Tenero
Cell +41 79 629 20 63
Tel +41 58 468 62 48
Fax +41 58 468 61 98
Reply to: