Username: Password:

Suse10 安装ntfs-3g支持ntfs分区读写
来源:ChinaUnix博客  作者:ChinaUnix博客   发布时间:2008-01-01 20:18:00

Suse10似乎还不支持对ntfs格式的写操作。所以没有办法只能手动解决。
ntfs-3g 前面需要 fuse,但 suse yast 中自带的 fuse 不行(可能是版本问题)。只好全部下载、编译
下载 fuse 2.7x
下载 ntfs-3g
先后编译,即可。终端命令相同,如下:
代码
               
               
                ./configure
make
sudo make install
全部安装之后。以root身份新建文档/sbin/mount.ntfs:
#!/bin/sh
export LANG=en_US.UTF-8
exec /sbin/mount.ntfs-3g "$@"
然后执行
代码:
#chmod a+x /sbin/mount.ntfs
#尝试挂载本地ntfs,在/etc/fstab中加入类似:
/dev/sda1     /media/sda1 ntfs-3g defaults,locale=zh_CN.UTF-8 0 0
(注意:这里sda1指的是移动硬盘挂在点,我的是sda1)或:
/dev/hda1     /mnt/c        ntfs-3g    defaults     0 0
(注意:/mnt/c中的c 是自己新建的硬盘在系统中的挂点,可自己修改。)
假如以上都安装好了,就能够进行手动挂载了:命令如下:
# mount -t ntfs /dev/sdb1 /mnt/win
然后在/mnt/win下面就能够对您的移动硬盘进行读写。
若要umount:
# umount /dev/sdb1
感谢资源:
http://blog.guoshuang.com/showlog.asp?log_id=5669
http://www.wuyapc.com/html/caozuoxitong/linux/20070215/233.html
-----------------------------------



本文来自ChinaUnix博客,假如查看原文请点:http://blog.chinaunix.net/u/21684/showart_465094.html

喜欢本文,那就收藏到:

    Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 POCO网摘 添加到饭否 QQ书签 Digbuzz我挖网
相关评论  我也要评论
还没有关于此文章的相关评论!
  • 昵称: (为空则显示guest)
  • 评论分数: ★ ★ ★★★ ★★★★ ★★★★★
  • 评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
  • 导航
    赞助商
    文章类别
    订阅