summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/format.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-04-12 16:40:47 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-04-12 16:40:47 +0000
commita638e23899551d89fc0e6b02292e0a497d43b880 (patch)
treec8a2403265a09ee8df92f59c068a35bae5d26a5c /perl-install/fs/format.pm
parent2b8894c503675f95c52a01c85d4b3b572489384e (diff)
downloaddrakx-backup-do-not-use-a638e23899551d89fc0e6b02292e0a497d43b880.tar
drakx-backup-do-not-use-a638e23899551d89fc0e6b02292e0a497d43b880.tar.gz
drakx-backup-do-not-use-a638e23899551d89fc0e6b02292e0a497d43b880.tar.bz2
drakx-backup-do-not-use-a638e23899551d89fc0e6b02292e0a497d43b880.tar.xz
drakx-backup-do-not-use-a638e23899551d89fc0e6b02292e0a497d43b880.zip
Add initial nilfs2 support
Diffstat (limited to 'perl-install/fs/format.pm')
-rw-r--r--perl-install/fs/format.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm
index 25b08939b..9caa4f45f 100644
--- a/perl-install/fs/format.pm
+++ b/perl-install/fs/format.pm
@@ -25,6 +25,7 @@ my %cmds = (
ntfs => [ 'ntfsprogs', 'mkntfs', '--fast' ],
'ntfs-3g' => [ 'ntfsprogs', 'mkntfs', '--fast' ],
btrfs => [ 'btrfs-progs', 'mkfs.btrfs' ],
+ nilfs2 => [ 'nilfs-utils', 'mkfs.nilfs2' ],
);
my %LABELs = ( #- option, length, handled_by_mount
@@ -42,6 +43,7 @@ my %LABELs = ( #- option, length, handled_by_mount
ntfs => [ '-L', 128, 0 ],
'ntfs-3g' => [ '-L', 128, 0 ],
btrfs => [ '-L', 256, 1 ],
+ nilfs2 => [ '-L', 16, 1],
);
my %edit_LABEL = ( # package, command, option
@@ -61,6 +63,7 @@ my %edit_LABEL = ( # package, command, option
ntfs => [ 'ntfsprogs', 'ntfslabel' ],
'ntfs-3g' => [ 'ntfsprogs', 'ntfslabel' ],
# btrfs
+# nilfs2
);
sub package_needed_for_partition_type {