From a638e23899551d89fc0e6b02292e0a497d43b880 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 12 Apr 2010 16:40:47 +0000 Subject: Add initial nilfs2 support --- perl-install/fs/format.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'perl-install/fs/format.pm') 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 { -- cgit v1.2.1