aboutsummaryrefslogtreecommitdiffstats
path: root/transfugdrake.pm
diff options
context:
space:
mode:
Diffstat (limited to 'transfugdrake.pm')
-rwxr-xr-xtransfugdrake.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/transfugdrake.pm b/transfugdrake.pm
index d4d0b09..a230586 100755
--- a/transfugdrake.pm
+++ b/transfugdrake.pm
@@ -28,7 +28,10 @@ sub get_windows_disk() {
require fs;
require fs::type;
- my $fstab = [ fs::read_fstab($::prefix, '/etc/fstab', '') ];
+ my $all_hds = fsedit::get_hds();
+ fs::get_raw_hds('', $all_hds);
+ fs::get_info_from_fstab($all_hds);
+ my $fstab = [ fs::get::fstab($all_hds) ];
fs::merge_info_from_mtab($fstab);
my @win_devices = grep { fs::type::isFat_or_NTFS($_) && fs::type::isMounted($_) } @$fstab;