Re: 2.6.9er Kernel und CF Karte
On 08.Nov 2004 - 14:01:01, Michelle Konzack wrote:
> Am 2004-11-08 11:32:32, schrieb Andreas Pakulat:
> > On 08.Nov 2004 - 11:08:48, Kai Weber wrote:
> > andreas@morpheus:~>mount /mnt/cfcard/
> > mount: wrong fs type, bad option, bad superblock on /dev/cfcard,
> > or too many mounted file systems
>
> Und wo ist hier die Mount-option ?
> Wie währe es mit:
Die hast du beim Quoten geloescht, steht ne Zeile darunter.
> mount -t vfat /dev/cfcard /mnt/cfcard/ -o utf8
Das geht, das ist aber nicht richtig (s.u.), ausserdem brauche ich auf
meiner CF-Karte (fuer meine Digikam) kein UTF-8, da reich us-ascii
aus.
> > andreas@morpheus:~>grep cfcard /etc/fstab
> > /dev/cfcard /mnt/cfcard vfat user,rw,noauto,utf8=1
> > 0 0
>
> utf8=1 ???
>
> Habe ich nicht.
Ich hatte bei der CF-Karte bisher gar nichts. Der 1. 2.6.9er Kernel den ich
installiert habe hatte die Kerneloption IOCHARSET=utf-8 gesetzt (so
wie utf-8 auch im NLS Menu erscheint), daraufhin konnte ich die
CF-Karte nicht mehr mounten. Daraufhin hab ich mit dem IOCharset mal
nachgeforscht und mir die Doku des Kernels angesehen, da steht nun,
man solle das nicht auf utf-8 setzen, also hab ich 2 Dinge probiert:
1. Leer lassen, geht nicht, da mountet er noch nichtmal meine FAT32
Datenpartition (die mit iocharset in der fstab steht)
2. auf iso-8859-1 setzen, da geht dann aber trotzdem die CF-Karte ohne
iocharset und utf-8 Option nicht!
In der Doku stand, man solle iocharset nicht anwenden, sondern die
Option utf-8. Zitat (linux-2.6.9/Documentation/filesystems/vfat.txt:
utf8=<bool> -- UTF8 is the filesystem safe version of Unicode that
is used by the console. It can be be enabled for the
filesystem with this option. If 'uni_xlate' gets set,
<bool>: 0,1,yes,no,true,false
So und da steht nun, dass utf8 eine Bool-Option ist und man noch den
entsprechenden Wert angeben muss. Das aber versteht mount nicht!
Hmm, ist wahrscheinlich ein Bug in mount, bzw. einfach noch nicht fuer
2.6.9er Kernel angepasst...
> /dev/cfcard /mnt/cfcard vfat user,rw,noauto,utf8 0 0
>
> reicht vollkommend aus.
Ist aber laut Kerneldoku falsch.
> > Mit diesen ganzen Bugs im Kernel 2.6.9, empfinde ich den eher als ne
> > Beta-Version, denn als stabilen Kernel... Laut
> > Documentation/filesystems/vfat ist iocharset naemlich deprecated und
> > man soll die utf8 Option benutzen! Genauso sind die Angaben im Kernel
>
> Das ist richtg, aber Du mußt sie auch richtig verwenden...
Hab ich ja, hab mich genau an die Doku des Kernels gehalten.
Andreas
--
Never explain. Your friends do not need it and your enemies will never
believe you anyway.
-- Elbert Hubbard
Reply to: