summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r--perl-install/fs.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index 055347234..f2f3a48de 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -274,6 +274,8 @@ sub write_fstab($;$$) {
@new{($mntpoint, "/dev/$device")} = undef;
mkdir "$prefix/$mntpoint", 0755 or log::l("failed to mkdir $prefix/$mntpoint: $!");
+ eval { devices::make("$prefix/dev/$device") };
+
[ "/dev/$device", $mntpoint, "vfat", "user,exec,conv=auto", 0, 0 ];
} grep { isFat($_) &&
! exists $new{"/dev/$_->{device}"} } @$fstab;