Linux硬盘挂载 rw/ro 问题

Linux 2.6.14

同一个硬盘 
为什么每次挂载上去,显示的挂载属性都不同

/mnt/udisk0 $ mount
/dev/sda1 on /mnt/udisk0/part0 type ext3 (ro,data=ordered)
/dev/sda2 on /mnt/udisk0/part1 type ext3 (rw,data=ordered)
null on /tmp type tmpfs (rw)
/mnt/udisk0 $ stat part0/
  File: "part0/"
  Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 801h/2049d Inode: 2 Links: 5
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: Thu Jan 7 08:13:51 2010
Modify: Thu Jan 7 07:56:19 2010
Change: Thu Jan 7 07:56:19 2010
/mnt/udisk0 $ 
/mnt/udisk0 $ 
/mnt/udisk0/part0 $ touch 2
touch: 2: Read-only file system
/mnt/udisk0/part0 $ mount -o remount,rw /dev/sda1 /mnt/udisk0/part0/
mount: /dev/sda1 is write-protected, mounting read-only[b][/b]


但有时候挂载上去却可以 rw,
期间没有做过什么改动
请帮忙看下

作者: boborookie   发布时间: 2010-01-07

你检查一下你的硬盘有没有读写锁,因为我原来碰到过SD卡挂载的时候也会出现这种情况...写锁锁上的时候显示的属性当然只能是RO了。

作者: saokeliu   发布时间: 2010-01-09

帮顶一下!

作者: steptodream   发布时间: 2010-01-09

引用 1 楼 saokeliu 的回复:
你检查一下你的硬盘有没有读写锁,因为我原来碰到过SD卡挂载的时候也会出现这种情况...写锁锁上的时候显示的属性当然只能是RO了。


硬盘没有读写锁,所以才奇怪

作者: boborookie   发布时间: 2010-01-11

问题解决了吗????

作者: guomsh   发布时间: 2011-05-27