Need help about reading folder named in chinese IN CDROM!!!
Who can tell me which file to be edited? and how to modify it ?
Another question:
(login default with knoppix) when i click one harddisk partion on the KDE desktop, but the partion is not writable in default setting. i should right-click on the harddisk partion, and then click 'change read/write mode'. i want to the all partion to be writable with default settings. What should i do? i should modify " rebuildfstab"?? Where should i add the "rw" option?
Code:
while read device mountpoint fstype relax; do
stringinfile "$device " "$TMP" || \
{ count="$((count + 1))"
[ -d "$mountpoint" ] || mkdir -p "$mountpoint" 2>/dev/null
options="noauto,users,exec"
case "$fstype" in
ntfs) options="iocharset=utf8,${options},ro,umask=000" ;;
vfat|msdos) options="iocharset=gb2312,codepage=936,${options},rw,umask=000" ;;
swap) options="defaults" ;;
esac
case "$fstype" in
ntfs|vfat|msdos)
[ -n "$user" ] && options="$options,uid=$user"
[ -n "$group" ] && options="$options,gid=$group"
;;
esac
echo "$ADDEDBYKNOPPIX"
echo "$device $mountpoint $fstype $options 0 0"; }
i tried, but failed.
[email protected]
thanks