Applet for detecting the filesystem type.
Sameer Naik
sameer.subscriptions at damagehead.com
Sun Nov 28 09:52:59 UTC 2010
Hi,
For now, i am doing just as you said. i.e. first try mounting with the
iochaset option and then if it fails try mounting again without the
iocharset option. Other than the message "EXT3-fs: Unrecognized mount
option "iocharset=iso8859-1" or missing value" being printed, it works
well.
Thanks for the help
Regards
~Sameer
On Thu, Nov 25, 2010 at 10:34 AM, Sergey Naumov <sknaumov at gmail.com> wrote:
>> The main reason why i need to detect the partition type before
>> mounting is so that i can specify the "iocharset" mount option to the
>> mount command. If i do not specify the charset, unicode characters do
>> no work and iconv() calls in applications as well start reporting
>> errors during the conversion.
>>
>> This issue shows up mainly for fat32 and ntfs partitions and i have to
>> specify "iocharset=iso8859-1,utf8" at the time of mounting fat32 and
>> ntfs partitions.
>
> The ugly way is to provide iocharset option to all mount commands. If
> this option cannot be applied to the current fs and exit status of
> mount is not zero, then try again, but now without iocharset option.
>
> Sergey Naumov.
>
More information about the busybox
mailing list