diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2009-01-08 08:15:43 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2009-01-08 08:15:43 +0000 |
commit | a77fbe82060bb0b00639aeb5855c64db076f01e7 (patch) | |
tree | cbe21c25143e608aa1b8215cacd94ce1c2aa271d /perl-install/fs/mount_options.pm | |
parent | a185ff45425be7d41b41a0f92f0e3b7ec526e27b (diff) | |
download | drakx-a77fbe82060bb0b00639aeb5855c64db076f01e7.tar drakx-a77fbe82060bb0b00639aeb5855c64db076f01e7.tar.gz drakx-a77fbe82060bb0b00639aeb5855c64db076f01e7.tar.bz2 drakx-a77fbe82060bb0b00639aeb5855c64db076f01e7.tar.xz drakx-a77fbe82060bb0b00639aeb5855c64db076f01e7.zip |
- diskdrake:
o --smb: cifs must be used instead of smbfs (#42483)
Diffstat (limited to 'perl-install/fs/mount_options.pm')
-rw-r--r-- | perl-install/fs/mount_options.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/fs/mount_options.pm b/perl-install/fs/mount_options.pm index 8d3158d56..4a502f12f 100644 --- a/perl-install/fs/mount_options.pm +++ b/perl-install/fs/mount_options.pm @@ -30,7 +30,7 @@ sub unpack { vfat => [ qw(flush umask=0 umask=0022) ], ntfs => [ qw(umask=0 umask=0022) ], nfs => [ qw(rsize=8192 wsize=8192) ], - smbfs => [ qw(username= password=) ], + cifs => [ qw(username= password=) ], davfs2 => [ qw(username= password= uid= gid=) ], ext4 => [ qw(extents) ], reiserfs => [ 'notail' ], @@ -164,7 +164,7 @@ 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')) { + if (!fs::type::can_be_one_of_those_fs_types($part, 'vfat', 'cifs', 'iso9660', 'udf')) { delete $options->{'codepage='}; } if (member($part->{mntpoint}, fs::type::directories_needed_to_boot())) { @@ -216,7 +216,7 @@ sub set_default { nosuid => 1, 'rsize=8192,wsize=8192' => 1, soft => 1, }); } - if ($part->{fs_type} eq 'smbfs') { + if ($part->{fs_type} eq 'cifs') { add2hash($options, { 'username=' => '%' }) if !$options->{'credentials='}; } if (fs::type::can_be_this_fs_type($part, 'vfat')) { |