今天梅觀突然跟我說跑馬燈不跑了,我感到一陣錯愕;原本好好的功能,怎麼突然變成不能用了。原來是梅觀要求跑馬燈檔名可以自訂,好死不死的剛好用了大寫的檔案名稱。mount 到 uclinux 後,卻發現都變成小寫,真是奇怪。上 google 一查,原來是 mount 的 default 所引起的,改一下參數即可。

mount -t vfat -o shortname=winnt /dev/scsi/host1/bus0/target0/lun0/part1 /mnt/hda man mount 的說明 shortname=[lower|win95|winnt|mixed] Defines the behaviour for creation and display of filenames which fit into 8.3 characters. If a long name for a file exists, it will always be preferred display. There are four modes: lower Force the short name to lower case upon display; store a long name when the short name is not all upper case. win95 Force the short name to upper case upon display; store a long name when the short name is not all upper case. winnt Display the shortname as is; store a long name when the short name is not all lower case or all upper case. mixed Display the short name as is; store a long name when the short name is not all upper case. The default is "lower".

台南小新 發表在 痞客邦 PIXNET 留言(0) 人氣()