On 17 Jan 2002, Aharon Schkolnik wrote:

>
> >>>>> "Tzafrir" == Tzafrir Cohen <[EMAIL PROTECTED]> writes:
>
>   Tzafrir> On 17 Jan 2002, Aharon Schkolnik wrote:
>   >> Hi.
>   >>
>   >> I have a machine with Windows 95 and Linux installed on it.  I
>   >> have the W95 (FAT) partitions mounted under linux. I would like
>   >> to back up the W95 partitions using tar under Linux. Seems to
>   >> be that I once had a problem backing up W95 files which have
>   >> Hebrew names. I don't have the machine in front of me right
>   >> now, so I can't supply all the details.
>   >>
>   >> In the meantime, has anyone tried this ?
>
>   Tzafrir> Try mounting it with the codepage iso8859-8 (or
>   Tzafrir> windows1255 or cp1255) and then tar. I believe that tar
>   Tzafrir> saves 8bit file names, and IIRC I tried opening such a
>   Tzafrir> tarball with winzip on hebrew win98 and it worked fine.
>
>
> Great - I'll try that ! I didn't know there was such an option for
> mount.

See mount (8) . This is an option for vfat. It is probably listed under
vfat, msdos or whatever.

>
> How do I know which of the three codepages you mentioned to
> use ?
>

There is not much practical difference beween them (basically windows
CP1255 includes many extra characters, including Nikud, but I doubt if any
of them will appear in a file name).

> How do I determine which code pages are available ?
>
> How do I install additional codepages ?

It's a kernel compile-time option. I think most distros compile them all
as modules.

$ ls /lib/modules/2.4.8-26mdk/kernel/fs/nls/
nls_big5.o.gz    nls_cp861.o.gz  nls_cp950.o.gz       nls_iso8859-5.o.gz
nls_cp1251.o.gz  nls_cp862.o.gz  nls_euc-jp.o.gz      nls_iso8859-6.o.gz
nls_cp1255.o.gz  nls_cp863.o.gz  nls_euc-kr.o.gz      nls_iso8859-7.o.gz
nls_cp437.o.gz   nls_cp864.o.gz  nls_gb2312.o.gz      nls_iso8859-8.o.gz
nls_cp737.o.gz   nls_cp865.o.gz  nls_iso8859-13.o.gz  nls_iso8859-9.o.gz
nls_cp775.o.gz   nls_cp866.o.gz  nls_iso8859-14.o.gz  nls_koi8-r.o.gz
nls_cp850.o.gz   nls_cp869.o.gz  nls_iso8859-15.o.gz  nls_koi8-ru.o.gz
nls_cp852.o.gz   nls_cp874.o.gz  nls_iso8859-1.o.gz   nls_koi8-u.o.gz
nls_cp855.o.gz   nls_cp932.o.gz  nls_iso8859-2.o.gz   nls_sjis.o.gz
nls_cp857.o.gz   nls_cp936.o.gz  nls_iso8859-3.o.gz   nls_tis-620.o.gz
nls_cp860.o.gz   nls_cp949.o.gz  nls_iso8859-4.o.gz   nls_utf8.o.gz
$ ls /lib/modules/2.2.19-19.1mdk/fs/
autofs.o.gz       nls_cp437.o.gz  nls_cp874.o.gz       nls_iso8859-9.o.gz
binfmt_aout.o.gz  nls_cp737.o.gz  nls_cp932.o.gz       nls_koi8-r.o.gz
binfmt_java.o.gz  nls_cp775.o.gz  nls_cp936.o.gz       nls_koi8-ru.o.gz
binfmt_misc.o.gz  nls_cp850.o.gz  nls_cp949.o.gz       ntfs.o.gz
coda.o.gz         nls_cp852.o.gz  nls_cp950.o.gz       reiserfs.o.gz
efs.o.gz          nls_cp855.o.gz  nls_iso8859-14.o.gz  romfs.o.gz
fat.o.gz          nls_cp857.o.gz  nls_iso8859-15.o.gz  smbfs.o.gz
hfs.o.gz          nls_cp860.o.gz  nls_iso8859-1.o.gz   supermount.o.gz
hpfs.o.gz         nls_cp861.o.gz  nls_iso8859-2.o.gz   sysv.o.gz
lockd.o.gz        nls_cp862.o.gz  nls_iso8859-3.o.gz   udf.o.gz
minix.o.gz        nls_cp863.o.gz  nls_iso8859-4.o.gz   ufs.o.gz
msdos.o.gz        nls_cp864.o.gz  nls_iso8859-5.o.gz   vfat.o.gz
ncpfs.o.gz        nls_cp865.o.gz  nls_iso8859-6.o.gz
nfsd.o.gz         nls_cp866.o.gz  nls_iso8859-7.o.gz
nfs.o.gz          nls_cp869.o.gz  nls_iso8859-8.o.gz


2.4 includes cp1255 as well. 2.2 only includes iso8859-8.

-- 
Tzafrir Cohen                        /"\
mailto:[EMAIL PROTECTED]        \ /  ASCII Ribbon Campaign
Taub 229, 972-4-829-3942,             X   Against  HTML  Mail
http://www.technion.ac.il/~tzafrir   / \


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to