路傍亭@はてなブログ

備忘録とか記録とか

Zaurusはファイルの場所によってファイル名が全部小文字になる対策をする。

http://hp.vector.co.jp/authors/VA019034/pc/slzaurus.html から

2ch Linux板 【期待の】Linux zaurus 6【ニューカマー】スレにおいて、139氏曰く
/root/etc/rc.d/rc.rofilesysのvfatをmountしている部分にshortname=winntを追加して再起動
とのことだったので、試したところうまくいきました。
原因は、vfatマウント時にshortnameオプションを明示的に指定しないと、デフォルトのlower(大文字→小文字変換)が適用されてしまうためのようです。

手順:
1. /root/etc/rc.d/rc.rofilesysを編集

# mount -o remount,rw /
# cd /root/etc/rc.d
# cp -p rc.rofilesys rc.rofilesys.org
# vi rc.rofilesys

2. 以下の記述がある行(3か所)に、shortname=winntを追加

mount -t vfat -o noatime,quiet,umask=000,iocharset=utf8 /dev/${IDE1}3 /hdd3
↓
mount -t vfat -o noatime,quiet,umask=000,iocharset=utf8,shortname=winnt /dev/${IDE1}3 /hdd3

3. ターミナルを終了し、Qtメニューから再起動

# mount -o remount,ro /
# exit