FC3下的U盘自动挂载怎样修改默认字库?
问题:FC3下的U盘自动挂载怎样修改默认字库?
我忘记了.:-(
改成utf8
答案:
/usr/share/hal/fdi/90defaultpolicy/storage-policy.fdi
在
<merge key="storage.policy.default.mount_option.exec" type="bool">true</merge>
之后添加:
<merge key="storage.policy.default.mount_option.iocharset=utf8" type="bool">true</merge> 楼主,请问一下,我得U盘总是挂不上时怎么回事呢?我用mount -t vfat /dev/sda1 /mnt/usb 完成后,进入目录usb,使用ls命令久死机了,郁闷呀! 谢谢了! mount -t vfat /dev/sda1 /mnt/usb -o charset=utf8 我问的问题是关于FC3的自动加载的 /usr/share/hal/fdi/90defaultpolicy/storage-policy.fdi
在
<merge key="storage.policy.default.mount_option.exec" type="bool">true</merge>
之后添加:
<merge key="storage.policy.default.mount_option.iocharset=utf8" type="bool">true</merge> 那/etc/fstab怎么写的呢? :-) 我的fstab:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/1 / ext3 defaults 1 1
LABEL=/boot1 /boot ext3 defaults 1 2
none /dev/pts devptsgid=5,mode=6200 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-hda8 swap swap defaults 0 0
/dev/hda1 /mnt/win_c vfat rw,umask=000,user,iocharset=utf8,exec,managed 0 0
/dev/hda6 /mnt/win_d vfat rw,umask=000,user,iocharset=utf8,exec,managed 0 0
/dev/hdc /media/cdrom auto pamconsole,ro,iocharset=utf8,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,iocharset=utf8,exec,noauto,managed 0 0
页:
[1]