Jump to content

Recommended Posts

Posted

При монтировании "mount -t smbfs..." файлы с кириллическими именами отображаются квадратиками (дистрибутив RH9), а при mount -t ntfs такие файлы вообще не видны. Как поправить?

Posted

/etc/fstab:

/dev/hdb1 /mnt/nt ntfs nls=koi8-r,ro,fmask=0333,dmask=0222,show_sys_files=1,case_se nsetive=0,error=recover 0 0

//server/public /mnt/server/pub smb noauto,noexec,nodev,nosuid,user,iocharset=koi8-r,codepage=86 6,username= <user>,quiet 0 0

неплохо бы в /etc/samba прописать эти кодировки:

для samba 3.x.x:

dos charset = 866

unix charset = koi8-r

для samba 2.x.x:

client codepage = 866

character set = koi8-r

Posted

Странно, а уменя mount не понимает опцию nls, ругается, говорит, что такой нет. Ее, по-моему, и в man mount нет. Мне вот такая штука помогла:

/dev/hda1 /mnt/ntfs ntfs auto,iocharset=utf8 0 0

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...