diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-01-03 15:34:47 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-01-03 15:34:47 +0000 |
commit | 0efeeff887e484ef8f031b5073fac6d7a1eed984 (patch) | |
tree | 493b2f0c3d601553506d1e1ec240e79c0ce8326b /perl-install/fs/mount_options.pm | |
parent | 5faf12bcb1a086ad7c27a9f431ac5022c94a2888 (diff) | |
download | drakx-backup-do-not-use-0efeeff887e484ef8f031b5073fac6d7a1eed984.tar drakx-backup-do-not-use-0efeeff887e484ef8f031b5073fac6d7a1eed984.tar.gz drakx-backup-do-not-use-0efeeff887e484ef8f031b5073fac6d7a1eed984.tar.bz2 drakx-backup-do-not-use-0efeeff887e484ef8f031b5073fac6d7a1eed984.tar.xz drakx-backup-do-not-use-0efeeff887e484ef8f031b5073fac6d7a1eed984.zip |
remove codepage= option for fs types which don't handle it (eg: ntfs)
Diffstat (limited to 'perl-install/fs/mount_options.pm')
-rw-r--r-- | perl-install/fs/mount_options.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/fs/mount_options.pm b/perl-install/fs/mount_options.pm index 77ef74a17..91ac36ad9 100644 --- a/perl-install/fs/mount_options.pm +++ b/perl-install/fs/mount_options.pm @@ -154,6 +154,9 @@ sub rationalize { if ($part->{fs_type} ne 'reiserfs') { $options->{notail} = 0; } + if (!fs::type::can_be_one_of_those_fs_types($part, 'vfat', 'smbfs', 'iso9660', 'udf')) { + delete $options->{'codepage='}; + } &pack($part, $options, $unknown); } |