diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-11-06 15:43:05 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-11-06 15:43:05 +0000 |
commit | 0cec176f0607443bf3019af2e9e6fa25f0441b10 (patch) | |
tree | 3a36444b75be2fc0d802f3405919d5d1933ee322 /perl-install/fs/mount_options.pm | |
parent | cac00625d50a54c964a4baf8c5fe223c9a996b82 (diff) | |
download | drakx-0cec176f0607443bf3019af2e9e6fa25f0441b10.tar drakx-0cec176f0607443bf3019af2e9e6fa25f0441b10.tar.gz drakx-0cec176f0607443bf3019af2e9e6fa25f0441b10.tar.bz2 drakx-0cec176f0607443bf3019af2e9e6fa25f0441b10.tar.xz drakx-0cec176f0607443bf3019af2e9e6fa25f0441b10.zip |
add support for ext4
Diffstat (limited to 'perl-install/fs/mount_options.pm')
-rw-r--r-- | perl-install/fs/mount_options.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/fs/mount_options.pm b/perl-install/fs/mount_options.pm index b1dea9b42..57ec4d47f 100644 --- a/perl-install/fs/mount_options.pm +++ b/perl-install/fs/mount_options.pm @@ -32,9 +32,10 @@ sub unpack { nfs => [ qw(rsize=8192 wsize=8192) ], smbfs => [ qw(username= password=) ], davfs2 => [ qw(username= password= uid= gid=) ], + ext4dev => [ qw(extents) ], reiserfs => [ 'notail' ], ); - push @{$per_fs{$_}}, 'usrquota', 'grpquota' foreach 'ext2', 'ext3', 'xfs'; + push @{$per_fs{$_}}, 'usrquota', 'grpquota' foreach 'ext2', 'ext3', 'ext4dev', 'xfs'; while (my ($fs, $l) = each %per_fs) { $part->{fs_type} eq $fs || $part->{fs_type} eq 'auto' && member($fs, @auto_fs) or next; @@ -229,6 +230,9 @@ sub set_default { 'iocharset=' => $opts{iocharset}, 'codepage=' => $opts{codepage}, }); } + if ($part->{fs_type} eq 'ext4dev') { + put_in_hash($options, { extents => 1 }); + } if ($part->{fs_type} eq 'ntfs') { put_in_hash($options, { ro => 1, 'nls=' => $opts{iocharset}, 'umask=0' => $opts{security} < 3, 'umask=0022' => $opts{security} < 4, |