Chinaunix

标题: 挂载了一个windows的NTFS分区。却只能读不能写。 [打印本页]

作者: az0745    时间: 2008-07-01 01:31
标题: 挂载了一个windows的NTFS分区。却只能读不能写。
我用命令monut  -t ntfs -o rw /dev/hdb6  /mnt/wine
挂载了windows下的E盘。但是只能读不能写。
错误提示为下面的东西:


[root@localhost ~]# cp /root/Desktop/1 /mnt/wine
cp: 无法创建一般文件“/mnt/wine/1”: 只读文件系统
作者: wxfjx    时间: 2008-07-01 13:32
你用的是什么发行版?版本比较低的发行版不支持对NTFS的写入
比如:红旗5不支持,但是红旗6支持
作者: jerrywjl    时间: 2008-07-01 13:34
一般Linux的kernel默认都不支持NTFS的读取,但通过内核编译可以支持NTFS只读。
作者: fox000002    时间: 2008-07-01 14:13
原帖由 jerrywjl 于 2008-7-1 13:34 发表
一般Linux的kernel默认都不支持NTFS的读取,但通过内核编译可以支持NTFS只读。



old

NTFS 的读写是解决已久的问题了
作者: az0745    时间: 2008-07-01 14:32
既然是很久前就解决了读写的问题。那我碰到的问题应该怎么解决呢?

我用的是fedora 5.

本来所不支持NTFS的。后来我们弄了一个软件就能支持了。但不能写。

[ 本帖最后由 az0745 于 2008-7-1 14:34 编辑 ]
作者: az0745    时间: 2008-07-01 15:11
输入命令:
mount -t ntfs -r rw /dev/hdb6 /mnt/wine

错误提示:

Usage: mount -V                 : print version
       mount -h                 : print this help
       mount                    : list mounted filesystems
       mount -l                 : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
       mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
       mount device             : mount device at the known place
       mount directory          : mount known device here
       mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
       mount --bind olddir newdir
or move a subtree:
       mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .
作者: cst05001    时间: 2008-07-04 02:05
我记得是安全限制。
可以写,但是不安全。有倒霉的兄弟写入后整个分区空掉了。
限制非root对ntfs的写入。防止普通user乱搞。
作者: az0745    时间: 2008-07-05 00:20
可是我一直都是用root用户登录系统的啊。。
作者: lowol    时间: 2008-07-10 14:29
安装这个包 ntfsprogs
里面包含 ntfsmount 命令
sudo ntfsmount /dev/hdb6  /mnt/wine
作者: Godbach    时间: 2008-07-24 10:48
现在应该对NTFS的读写支持了
作者: streetboy85    时间: 2008-07-24 12:02
原帖由 Godbach 于 2008-7-24 10:48 发表
现在应该对NTFS的读写支持了

新内核都支持了
作者: glseda    时间: 2008-07-24 16:32
不建议开启Linux对NTFS的写操作,否则很有可能Linux可读而Windows不可读的情况(最严重的连Windows启动都停滞了)。还是建议写到FAT32分区,或者安装Windows对Ext2/3读操作软件。
作者: glseda    时间: 2008-07-24 16:32
使用的是Ubuntu 8.04
作者: anliytu    时间: 2008-07-27 08:46
标题: 回复 #1 az0745 的帖子
现在最新的NTFS-3G可以支持NTFS格式的读写,我一直用这,挺稳定的,大家可以试试!
作者: cnjnhu    时间: 2008-07-27 11:01
读写NTFS对linux很平常,只要是新的系统
作者: polokus    时间: 2008-07-28 19:06
一般都是这样,虽然现在支持对NTFS的读写,但是还是不建议对NTFS进行写操作
作者: Godbach    时间: 2008-07-29 10:10
挂在移动硬盘的时候,NTFS分区的都可以直接读写啊
作者: hbfnjx    时间: 2008-07-31 20:11
该换一个高的版本了




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2