summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-10-26 12:54:46 +0000
committerOlivier Blin <oblin@mandriva.com>2009-10-26 12:54:46 +0000
commit321e4931719f59f3f84fabfe7275adf73f0b0112 (patch)
treef113b70ca3689c94fbabec07ec225e892527fc15 /lib
parent60c50b72a839dd4721692cdd6e21a81c05c0f181 (diff)
downloaddraklive-321e4931719f59f3f84fabfe7275adf73f0b0112.tar
draklive-321e4931719f59f3f84fabfe7275adf73f0b0112.tar.gz
draklive-321e4931719f59f3f84fabfe7275adf73f0b0112.tar.bz2
draklive-321e4931719f59f3f84fabfe7275adf73f0b0112.tar.xz
draklive-321e4931719f59f3f84fabfe7275adf73f0b0112.zip
fix setting label on fat
Diffstat (limited to 'lib')
-rw-r--r--lib/MDV/Draklive/Utils.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MDV/Draklive/Utils.pm b/lib/MDV/Draklive/Utils.pm
index 94be289..d1499dd 100644
--- a/lib/MDV/Draklive/Utils.pm
+++ b/lib/MDV/Draklive/Utils.pm
@@ -66,7 +66,7 @@ sub device_allocate_file {
sub device_mkfs {
my ($device, $type, $o_label, $o_inode_size) = @_;
if ($type eq 'vfat') {
- run_('mkfs.vfat', if_(defined $o_label, '-L', $o_label), $device);
+ run_('mkfs.vfat', if_(defined $o_label, '-n', $o_label), $device);
} elsif (member($type, 'ext2', 'ext3', 'ext4')) {
run_("mkfs.$type", "-m", 0,
if_(defined $o_label, '-L', $o_label),