免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 6028 | 回复: 11
打印 上一主题 下一主题

内核是否支持ntfs写操作[问题已解决] [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-08-23 17:10 |只看该作者 |倒序浏览
本帖最后由 lingfen1552 于 2011-08-24 11:26 编辑

Linux内核是否对ntfs的支持还不管完美,能够读取ntfs,但无法写是吗?
我下载了2.6.32.9及其3.0.3内核,里面关于ntfs格式的支持描述都如下:

CONFIG_NTFS_RW:                                                                                                                                                                                                                      │  
  │                                                                                                                                                                                                                                      │  
  │ This enables the partial, but safe, write support in the NTFS driver.                                                                                                                                                                │  
  │                                                                                                                                                                                                                                      │  
  │ The only supported operation is overwriting existing files, without                                                                                                                                                                  │  
  │ changing the file length.  No file or directory creation, deletion or                                                                                                                                                                │  
  │ renaming is possible.  Note only non-resident files can be written to                                                                                                                                                                │  
  │ so you may find that some very small files (<500 bytes or so) cannot                                                                                                                                                                 │  
  │ be written to.                                                                                                                                                                                                                       │  
  │                                                                                                                                                                                                                                      │  
  │ While we cannot guarantee that it will not damage any data, we have                                                                                                                                                                  │  
  │ so far not received a single report where the driver would have                                                                                                                                                                      │  
  │ damaged someones data so we assume it is perfectly safe to use.

谢谢……

论坛徽章:
59
2015七夕节徽章
日期:2015-08-24 11:17:25ChinaUnix专家徽章
日期:2015-07-20 09:19:30每周论坛发贴之星
日期:2015-07-20 09:19:42ChinaUnix元老
日期:2015-07-20 11:04:38荣誉版主
日期:2015-07-20 11:05:19巳蛇
日期:2015-07-20 11:05:26CU十二周年纪念徽章
日期:2015-07-20 11:05:27IT运维版块每日发帖之星
日期:2015-07-20 11:05:34操作系统版块每日发帖之星
日期:2015-07-20 11:05:36程序设计版块每日发帖之星
日期:2015-07-20 11:05:40数据库技术版块每日发帖之星
日期:2015-07-20 11:05:432015年辞旧岁徽章
日期:2015-07-20 11:05:44
2 [报告]
发表于 2011-08-23 22:01 |只看该作者
需要安装ntfs模块支持。

论坛徽章:
0
3 [报告]
发表于 2011-08-24 09:21 |只看该作者
需要安装ntfs模块支持。
renxiao2003 发表于 2011-08-23 22:01



    内核配置已经选上了,而且是 *,ntfs能够mount,查看了,但就是不能写,修改文件……

论坛徽章:
59
2015七夕节徽章
日期:2015-08-24 11:17:25ChinaUnix专家徽章
日期:2015-07-20 09:19:30每周论坛发贴之星
日期:2015-07-20 09:19:42ChinaUnix元老
日期:2015-07-20 11:04:38荣誉版主
日期:2015-07-20 11:05:19巳蛇
日期:2015-07-20 11:05:26CU十二周年纪念徽章
日期:2015-07-20 11:05:27IT运维版块每日发帖之星
日期:2015-07-20 11:05:34操作系统版块每日发帖之星
日期:2015-07-20 11:05:36程序设计版块每日发帖之星
日期:2015-07-20 11:05:40数据库技术版块每日发帖之星
日期:2015-07-20 11:05:432015年辞旧岁徽章
日期:2015-07-20 11:05:44
4 [报告]
发表于 2011-08-24 09:47 |只看该作者
那是权限问题。

论坛徽章:
0
5 [报告]
发表于 2011-08-24 10:46 |只看该作者
那是权限问题。
renxiao2003 发表于 2011-08-24 09:47



   权限应该没问题吧?,具体如下:
/dev/sda5 on /mnt/sda5 type ntfs (rw)

drwxr-xr-x. 1 root root 8.0K 2011-08-22 20:55 sda5

[root@localhost sda5]# mkdir a
mkdir: 無法建立目錄‘a’: 此項操作並不被允許
[root@localhost sda5]# touch b
touch: cannot touch ‘b’: 拒絕不符權限的操作
[root@localhost sda5]#

以root用户操作……

论坛徽章:
59
2015七夕节徽章
日期:2015-08-24 11:17:25ChinaUnix专家徽章
日期:2015-07-20 09:19:30每周论坛发贴之星
日期:2015-07-20 09:19:42ChinaUnix元老
日期:2015-07-20 11:04:38荣誉版主
日期:2015-07-20 11:05:19巳蛇
日期:2015-07-20 11:05:26CU十二周年纪念徽章
日期:2015-07-20 11:05:27IT运维版块每日发帖之星
日期:2015-07-20 11:05:34操作系统版块每日发帖之星
日期:2015-07-20 11:05:36程序设计版块每日发帖之星
日期:2015-07-20 11:05:40数据库技术版块每日发帖之星
日期:2015-07-20 11:05:432015年辞旧岁徽章
日期:2015-07-20 11:05:44
6 [报告]
发表于 2011-08-24 10:56 |只看该作者
pwd看看。

论坛徽章:
0
7 [报告]
发表于 2011-08-24 10:57 |只看该作者
回复 5# lingfen1552


   内核 只是 支持了读ntfs

论坛徽章:
0
8 [报告]
发表于 2011-08-24 11:03 |只看该作者
回复  lingfen1552


   内核 只是 支持了读ntfs
taojie2000 发表于 2011-08-24 10:57



    谢谢……
是不是Ubuntu可以读写ntfs,我记得可以?……

论坛徽章:
0
9 [报告]
发表于 2011-08-24 11:07 |只看该作者
回复 8# lingfen1552


    具体不太清楚   读写都安装的 ntfs-3g 包

论坛徽章:
0
10 [报告]
发表于 2011-08-24 11:10 |只看该作者
回复 8# lingfen1552


      ntfs-3g  is  an  NTFS  driver,  which  can create, remove, rename, move
       files, directories, hard links, and streams;  it  can  read  and  write
       files,  including  streams,  sparse  files and transparently compressed
       files; it can handle special files like symbolic  links,  devices,  and
       FIFOs;  moreover  it provides standard management of file ownership and
       permissions, including POSIX ACLs.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP