LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1569|回复: 19

Debian下面的automount用的是什么?

[复制链接]
发表于 2005-9-24 13:51:22 | 显示全部楼层 |阅读模式
我的版本是Debian Sarge
直接插上移动硬盘就会自己mount了,但是中文就是乱码,所以
我需要重新用iocharset=cp936来手动的mount,这样很麻烦
于是我想修改一下automount的参数,但是在
ps -ef
里面找不到automount,也没有发现长得比较像的,所以请问一下
发表于 2005-9-24 14:03:04 | 显示全部楼层
Post by xieweiyi
我的版本是Debian Sarge
直接插上移动硬盘就会自己mount了,但是中文就是乱码,所以
我需要重新用iocharset=cp936来手动的mount,这样很麻烦
于是我想修改一下automount的参数,但是在
ps -ef
里面找不到automount,也没有发现长得比较像的,所以请问一下


我是用autofs来mount移动硬盘的。
设置文件是/etc/auto.misc
/etc/下的几个auto.* 文件也可以用来mount. auto.master是主设置文件。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-9-24 14:30:11 | 显示全部楼层
wishing:/etc# find ./ -iname "*auto*"
./alternatives/automake.1.gz
./alternatives/automake
./alternatives/automake.info.gz
./pam.d/gdm-autologin
./fonts/conf.d/autohint.conf
./emacs/site-start.d/50autoconf.el
./gconf/gconf.xml.defaults/schemas/apps/gedit-2/preferences/editor/auto_indent
./gconf/gconf.xml.defaults/schemas/apps/gnumeric/autoformat
./gconf/gconf.xml.defaults/schemas/apps/gnumeric/autocorrect
./gconf/gconf.xml.defaults/apps/gedit-2/preferences/editor/auto_indent
./gconf/gconf.xml.defaults/apps/gnumeric/autoformat
./gconf/gconf.xml.defaults/apps/gnumeric/autocorrect
./kde3/ktexteditor_autobookmarkerrc
./openoffice/autoresponse.conf

就是没有啊,但是他确实可以自动mount,所以找了好久也没找到是什么东西mount的
回复 支持 反对

使用道具 举报

发表于 2005-9-24 15:52:34 | 显示全部楼层
楼上几位别乱搞

Gnome 2.8 及以上 , KDE 3.4 及以上  都是可以自己处理移动设备的
不需要什么 autofs , automount 什么乱七八糟的东西


请先看看  http://www.linuxsir.cn/bbs/showthread.php?t=206392



请把 autofs , automount  啥的删掉
然后把  locale 改为 zh_CN.UTF-8

中文就正常了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-9-24 16:13:43 | 显示全部楼层
谢谢楼上的,但是我没有办法指定卷管理器mount的时候使用的参数吗?
回复 支持 反对

使用道具 举报

发表于 2005-9-24 16:19:02 | 显示全部楼层
可以,但是太麻烦

反正 UTF-8 是趋势

你改 locale 更好
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-9-24 16:48:57 | 显示全部楼层
谢谢楼上的,搞定了,还有convmv也是个好东东
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-9-24 18:29:35 | 显示全部楼层
这样还是有很多问题,比如登ftp,登上去看到的都是乱码或者干脆看不到...
这有什么办法吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-9-24 18:52:11 | 显示全部楼层
我用的是gftp,将远程字符集设置成了gb18030
很奇怪,每次都要修改一下就是删了在存一次,gftp才能看到中文
回复 支持 反对

使用道具 举报

发表于 2005-9-24 19:28:05 | 显示全部楼层
gftp 不知道

我用lftp 的

我的 ~/.lftp/rc
debug 3
set ftp:charset GBK
set file:charset UTF-8
set ftp:passive-mode no

alias nosetcharset " set ftp:charset ; set file:charset "
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表