Java Desktop System Release 3 Administration Guide

Mounting a Local Microsoft Windows Partition on Linux Systems

If a Windows partition exists on the local hard disk when you install the Java Desktop System, the installer software automatically mounts the partition. The installer software also sets the value of the iocharset option or the nls option in /etc/fstab to the correct value for the UTF-8 and zh_CN.gb18030 locales.

If you mount the partition manually, or if you mount the partition in other locales, you must configure particular mount options to browse multibyte file or directory names correctly. You must set the options as shown in the following table:

Table 12–1 Options to Set When You Mount Partitions in Locales

Locale 

NTFS 

VFAT 

ja_JP.UTF-8

nls=utf8

iocharset=utf8,codepage=932

ko_KR.UTF-8

nls=utf8

iocharset=utf8,codepage=949

zh_CN.UTF-8

nls=utf8

iocharset=utf8,codepage=936

zh_CN.gb18030

nls=gb2312

iocharset=gb2312,codepage=936

zh_TW.UTF-8

nls=utf8

iocharset=utf8,codepage=950

See note below. 

zh_HK.UTF-8

nls=utf8

iocharset=utf8,codepage=950

See note below. 

en_US.UTF-8

nls=utf8

iocharset=utf8

de_DE.UTF-8

nls=utf8

iocharset=utf8

es_ES.UTF-8

nls=utf8

iocharset=utf8

fr_FR.UTF-8

nls=utf8

iocharset=utf8

it_IT.UTF-8

nls=utf8

iocharset=utf8

sv_SE.UTF-8

nls=utf8

iocharset=utf8


Note –

If you use the zh_TW.big5 or zh_HK.big5hkscs locales, use big5 instead of utf8 for the nls and iocharset options.


Sample entries for /etc/fstab for the Japanese UTF-8 locale are as follows:

/dev/sda1

/windows/C

ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0

/dev/sda2

/windows/C

vfat users,gid=users,umask=0002,iocharset=utf8,codepage=932