summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/interactive.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-02-14 15:29:27 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-03-18 11:52:54 +0100
commit54ef314639772e0a09aa8e6af36d2daf61c04479 (patch)
tree581e10d3ee5ac93b0cd8bd4f775112df7ec9eda5 /perl-install/diskdrake/interactive.pm
parent8974a1c84810d773e015ec6ad7e92e975c579733 (diff)
downloaddrakx-54ef314639772e0a09aa8e6af36d2daf61c04479.tar
drakx-54ef314639772e0a09aa8e6af36d2daf61c04479.tar.gz
drakx-54ef314639772e0a09aa8e6af36d2daf61c04479.tar.bz2
drakx-54ef314639772e0a09aa8e6af36d2daf61c04479.tar.xz
drakx-54ef314639772e0a09aa8e6af36d2daf61c04479.zip
add support for F2FS
Diffstat (limited to 'perl-install/diskdrake/interactive.pm')
-rw-r--r--perl-install/diskdrake/interactive.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index d1a0c28a9..0247561b8 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -789,6 +789,9 @@ sub Resize {
} else {
delete $nice_resize{ext2};
}
+ } elsif ($part->{fs_type} eq 'f2fs') {
+ $min = $part->{size}; #- ensure the user can only increase
+ $nice_resize{f2fs} = 1;
} elsif ($part->{fs_type} =~ /ntfs/) {
write_partitions($in, $hd) or return;
require diskdrake::resize_ntfs;
@@ -905,6 +908,8 @@ filesystem checks will be run on your next boot into Microsoft Windows®"));
unlink($dir);
}
}
+ } elsif ($nice_resize{f2fs}) {
+ run_program::run_or_die("resize.f2fs", devices::make($part->{device}));
} elsif ($nice_resize{nilfs}) {
run_program::run_or_die("nilfs-resize", $part->{mntpoint});
}