LINUX写完美读写NTFS

还记得以前老师在教关于在LINUX的文件格式时专门着重的告诉我,在LINUX能够通过修改/etc/fstab文件自动挂载WINDOWS上的文件系统,并支持FAT32格式的读写,但是要注意就是LINUX并不支持NTFS读写,仅仅支持NTFS的读却无法完美写入。翻出当时学习记录本上写有自己用!!!做为标注的重点呢!可是几年后变化了,虽然在2001年LINUX就支持NTFS格式文件的读取,但是在写文件方面一直不尽人意,又几年后,现在NTFS终于可以完美读写,只用安装一个NFTS-3G就能达到。真不知道要怎么说好,原来什么东西都不是绝对的,时代在变化嘛!以下是我在UBUNTU下安装NTFS-3G记录:

一,上网站查找到相关资料

How To add this repository to my sources.list

You will need to edit your /etc/apt/sources.list using your favorite texte editor (gedit, kate, nano,

vim…) and add at the end of the file one of the following mirror :

For DAPPER :
deb http://flomertens.keo.in/ubuntu/ dapper main main-all
deb http://givre.cabspace.com/ubuntu/ dapper main main-all
deb http://ntfs-3g.sitesweetsite.info/ubuntu/ dapper main main-all

For EDGY (only needed for NTFS removale device) :
deb http://flomertens.keo.in/ubuntu/ edgy main-all
deb http://givre.cabspace.com/ubuntu/ edgy main-all
deb http://ntfs-3g.sitesweetsite.info/ubuntu/ edgy main-all

The main channel contains the ntfs-3g package and an up to date fuse package.

The main-all channel contains modified version of pmount and hal to have a better integration of ntfs-3g in the desktop.
If you don’t want those package, just remove main-all.

If you use edgy, all needed packages are already in the ubuntu repo (main and universe), except the modified pmount,
that is needed for removable device.

Packages in this repository can be gpg authenticated. The key that is being used for signing the packages is 6B80D6DA.
You can enter this key into the APT trusted keys database with one of the following command:
wget http://flomertens.keo.in/ubuntu/givre_key.asc -O- | sudo apt-key add –
wget http://givre.cabspace.com/ubuntu/givre_key.asc -O- | sudo apt-key add –

二、参照说明进行安装

安装:

代码:
gksu gedit /etc/apt/sources.list

添加一段
dapper的:
引用:
deb http://ntfs-3g.sitesweetsite.info/ubuntu/ dapper main main-all
deb http://flomertens.keo.in/ubuntu/ dapper main main-all

edgy的
引用:
deb http://ntfs-3g.sitesweetsite.info/ubuntu/ edgy main main-all
deb http://flomertens.keo.in/ubuntu/ edgy main main-all

然后
代码:
wget http://flomertens.keo.in/ubuntu/givre_key.asc -O- | sudo apt-key add –
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ntfs-config

至此,安装完毕。
设置
找到 应用程序-系统工具-ntfs configuration tool并打开,输入密码。把第两个钩钩上。
完毕。
如果进入系统无法自动挂载,那么在终端输入sudo mount -a 即可。

ntfs-3g是一个用于读写NTFS分区的用户态文件系统(FUSE)。优点是支持NTFS的完美读写,安装/配置简单。缺点是因为是用户态文件系统,所以大量IO有明显的CPU资源占用。

PS:
前几天又不幸的发现HIWEED1.0居然也集成了安装,也就是说只要安装了HIWEED就没必要这样操作了,非常之简单!

另附Red Hat安装方法:

步骤:
1、确认官方yum仓库可以使用,并无其他冲突的仓库存在
2、运行:
代码:

#yum install ntfs-3g

3、以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/hda1 /mnt/c ntfs-3g defaults 0 0

#尝试移动硬盘的NTFS分区,
插入移动硬盘即可,并看下中文情况。

关于软件资源类分享的免责声明:
本站为个人博客非盈利性站点,所有软件信息均来自网络,所有资源仅供学习参考研究目的,并未做任何贩卖软件信息等行为,不存在任何商业目的及用途。
根据《计算机软件保护条例》第十七条规定“为了学习和研究软件内含的设计思想和原理,通过安装、显示、传输或者存储软件等方式使用软件的,可以不经软件著作权人许可,不向其支付报酬。"
您需知晓本站所有分享内容资源均来源于网络,仅供用户交流学习与研究使用,版权归属原版权方所有,版权争议与本站无关,用户本人下载后不能用作商业或非法用途,需在24个小时之内从您的电脑中彻底删除上述内容,否则后果均由用户承担责任。
如果您访问和下载此文件,表示您同意只将此文件用于参考、学习而非其他用途,否则一切后果请您自行承担,如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。
暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇