From 60d8d749fc2413ddf868a05faeb5fd03a80c6f95 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 29 Jun 2009 13:17:21 +0000 Subject: fill fs_type for / partition --- draklive | 3 +++ 1 file changed, 3 insertions(+) (limited to 'draklive') diff --git a/draklive b/draklive index 5cac591..0d43ed6 100755 --- a/draklive +++ b/draklive @@ -683,6 +683,9 @@ sub allocate_master { MDV::Draklive::Utils::device_allocate_file($dest, $disk_size); + my $slash = find { $_->{mntpoint} eq '/' } @{$media->{partitions}}; + $slash->{fs_type} = $fs; + #- FIXME: use parted? require fs::type; my $pt_type = sprintf('%x', fs::type::fs_type2subpart($fs)->{pt_type}); -- cgit v1.2.1