summaryrefslogtreecommitdiffstats
path: root/lib/MDV/Draklive/Utils.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-06-17 21:42:59 +0000
committerOlivier Blin <oblin@mandriva.com>2009-06-17 21:42:59 +0000
commit63f62045e5efe53ec85f531a11ec98a444ba9772 (patch)
tree79f3f3cd71c375c071cc7f7929d64e1cae120610 /lib/MDV/Draklive/Utils.pm
parent88b99f870f4d7d0019e1593d9545e8bb7c05f0f1 (diff)
downloaddraklive-63f62045e5efe53ec85f531a11ec98a444ba9772.tar
draklive-63f62045e5efe53ec85f531a11ec98a444ba9772.tar.gz
draklive-63f62045e5efe53ec85f531a11ec98a444ba9772.tar.bz2
draklive-63f62045e5efe53ec85f531a11ec98a444ba9772.tar.xz
draklive-63f62045e5efe53ec85f531a11ec98a444ba9772.zip
allow to create ext4 filesystems
Diffstat (limited to 'lib/MDV/Draklive/Utils.pm')
-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 906680f..4352ca9 100644
--- a/lib/MDV/Draklive/Utils.pm
+++ b/lib/MDV/Draklive/Utils.pm
@@ -66,7 +66,7 @@ sub device_mkfs {
my ($device, $type, $o_inode_size) = @_;
if ($type eq 'vfat') {
run_('mkfs.vfat', $device);
- } elsif (member($type, 'ext2', 'ext3')) {
+ } elsif (member($type, 'ext2', 'ext3', 'ext4')) {
run_("mkfs.$type", "-m", 0, if_($o_inode_size, '-I', $o_inode_size), if_(!-b $device, '-F'), $device);
} else {
die "unable to mkfs for unsupported media type $type\n";