Mounting SD card with specific encoding

Tod Merley todbot88 at gmail.com
Wed Dec 26 11:28:17 UTC 2007


On Dec 26, 2007 12:22 AM, Dotan Cohen <dotancohen at gmail.com> wrote:
> On 26/12/2007, Tod Merley <todbot88 at gmail.com> wrote:
> > As Ed Greshko points out my dyslexia has soured the soup.  I saw 1255
> > but typed 1225 (twice!).  That little change may well fix it.
>
> I tried both 1225 and 1255. No change in situation, ie, the drive
> would not mount with the same error.
>
> >
> > To unmount /dev/sdb1 issue: umount /dev/sdb1.
>

>
> > Well, I am rambling!  Did not sleep well last night.
>
> Does anyone? My one-year old is pushing her teeth out now, nobody sleeps!
>
> As using copepage 1255 did not work, is there anything else that I
> could try? I tried using flag -t msdos instead of -t vfat but that did
> not help either.
>
>
> Dotan Cohen
>
> http://what-is-what.com
> http://gibberish.co.il
> א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
>
Hi Dothan Cohen!

The question now is "where is cp-1255"?

If I do a "locate kernel/fs/nls" after a recent "# updatedb" the
resulting list contains:

/lib/modules/2.6.23.1-21.fc7/kernel/fs/nls/nls_cp1255.ko

and

/lib/modules/2.6.23.1-21.fc7/kernel/fs/nls/nls_iso8859-7.ko
/lib/modules/2.6.23.1-21.fc7/kernel/fs/nls/nls_iso8859-9.ko

My old kernel seems to be missing 8859-8? -- I continue:

/lib/modules/2.6.23.8-34.fc7/kernel/fs/nls/nls_cp1255.ko
/lib/modules/2.6.23.8-34.fc7/kernel/fs/nls/nls_iso8859-7.ko
/lib/modules/2.6.23.8-34.fc7/kernel/fs/nls/nls_iso8859-9.ko

As does my new Kernel.

One thing I note right away is that my suggested mount command is
probably wrong:

# mount -o codepage=1255,iocharset=iso8859-8,utf8 -t vfat /dev/sdb1

Should probably be:

# mount -o codepage=cp1255,iocharset=iso8859-8,utf8 -t vfat /dev/sdb1
                                   ^^
Since the files I have are named:

/lib/modules/2.6.23.8-34.fc7/kernel/fs/nls/nls_cp1255.ko
                                                                    ^^
As well as the files close to iso8859-8 are named such in the mount
command and we did not get any errors from that part of the command.

BTW - Do you use Open Office.org?  Do you use it in Hebrew?  If so,
how do you like it?  If not, what do you use?

 I may well take Hebrew in the next few years.  If so perhaps we will
chat someday in Hebrew.

Please let us know how this all works out!

Tod




More information about the fedora-list mailing list