msdos filesystem ignores codepage argument?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I'm investigating a bug report about the msdos filesystem and the fact
that it appears to ignore the codepage argument.  The user wants to
use msdos instead of vfat to avoid adding long filenames to the fs and
store the short filenames using code page 850.  I verified that when
the on disk directory entry contains 0x8E, which is an umlouted A in
cp850, but when mounting with mount -t msdos no matter what codepage I
specify in -o, ls outputs the raw 0x8E rather than using the specified
codepage to translate the on disk string to utf8.  The msdos
filesystem refuses to accept the utf8 or iocharset options, so how do
you get it to do correct translation using the specified codepage?

Also in the process I noticed some odd behavior of ls.  If I set my
terminal to use cp850 and ls | cat, I see the umlouted A, but without
piping the output through cat, it comes out as a question mark.  Why
is that?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCgAGBQJUneYfAAoJENRVrw2cjl5RpOYH/3MsR7aeuJAKcAyIzo57k397
Ef9wAD37FxJ/CzQ8o+ZtlN4wMY2sYx6gbZBK5lfi2T6NfzJ/7k6zhG9Kxr+4zZyS
m/Zuq2NHN5dSANhaUqJNtRDHA1/kTHZHvC/oZ+Kpoogr1tOAslayuYz1L24Kz/FB
m3p6eXbRJBW1wJ2tqW3F45Wbw0oB9K7mBRGzTRedwVTSzNdGJdl2Dy+ru74r8yu2
5i4m7wmuwNZ7WtCd1Rs3B81wDwK0Uz8TPZL2W7lp15MHl1Bi8l9NsClYVcrXALLs
RacNE57laNu16ijTtJxgz7DBttZTQZRplCCB2pRLxr01Iv09TtJr/x+k8z3hYvA=
=O/ao
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux