On 25/12/2007, Tod Merley <todbot88(a)gmail.com> wrote:
On Dec 24, 2007 3:21 PM, Dotan Cohen <dotancohen(a)gmail.com>
wrote:
> How can I mount an SD card (via USB card reader) to have a specific
> filename encoding? My Fedora box is UTF-8, but the SD card in my Nokia
> 6288 seems to be CP1255 or ISO-8859-8. What mount command should I
> use? I read man mount and I see no mention of encodings.
>
> Thanks in advance.
>
> 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?
>
> --
> fedora-list mailing list
> fedora-list(a)redhat.com
> To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-list
>
Hi Dotan Cohen!
CP1255 or ISO-8859-8 appear to be Hebrew/Latin document character
sets. The mount command deals with mounting file systems.
Thanks, Tod. Yes, those are Hebrew character sets. The Hebrew
filenames show up as question marks, not letters. So if on the Nokia I
make three directories on the card:
EnglishDir
תיקייהעברית
עודאחד2
Then this is what I see on my laptop:
EnglishDir
???????????
??????2
You probably would do well to have the Hebrew (probably already
loaded
it think I see) and Latin languages loaded into your system.
Of course:
$ locale
LANG=he_IL.utf8
LANGUAGE=he_IL:he:en_GB:en
LC_CTYPE="he_IL.utf8"
LC_NUMERIC="he_IL.utf8"
LC_TIME="he_IL.utf8"
LC_COLLATE="he_IL.utf8"
LC_MONETARY="he_IL.utf8"
LC_MESSAGES="he_IL.utf8"
LC_PAPER="he_IL.utf8"
LC_NAME="he_IL.utf8"
LC_ADDRESS="he_IL.utf8"
LC_TELEPHONE="he_IL.utf8"
LC_MEASUREMENT="he_IL.utf8"
LC_IDENTIFICATION="he_IL.utf8"
LC_ALL=he_IL.utf8
One would hope that the SD card when connected to your USB adapter
and
then plugged into your computer would auto mount.
Actually, it does not. I mount it manually. Why that is, I don't know.
But it does not bother me.
If not, see if your
phone documentation mentions the file system type.
Fat32, formated by me on a windows machine.
You might loose or
need to reformat a card on your camera if you try this but a good
guess would be "mount -t msdos /dev/xxxx /media/myphonepictures"
assuming that xxxx (or xxx) is where the hardware is connected into
the system and that the directory "myphonepictures" exists before the
command is issued. I just placed a flash drive on my system's USB
port and then ran mount. This is the last line printed by mount:
/dev/sdb1 on /media/disk type vfat
(rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=500)
"/dev/sdb1" is where the hardware is - "/media/disk" is where the
files are mounted on the file system and "vfat" is the file system
type.
Always remember to unmount a volume before you physically remove it.
Of course!
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?