分页: 1 / 1

[问题]怎样读取windows里的信息

发表于 : 2006-03-29 21:50
bisha
怎样读取windows里的信息(用命令行)?

发表于 : 2006-03-29 22:11
eexpress
到底是要什么信息。全部信息,那就把win的磁盘复制过来。 :lol:

发表于 : 2006-03-29 23:56
bisha
我放了一些驱程在那里,想读取!

发表于 : 2006-03-30 0:18
eexpress
那就只是挂载而已。sudo mount -t vfat -o utf8 /dev/hda? /media/???这样。

发表于 : 2006-03-31 6:45
lukerim
I have the same problem reading the Windows partitions while I am not working as root user.

I found the privilege of /media/hda1 is dr--------, even the root user can not chmod 644 on it. (It's a read-only folder)

How can I do to make the /media/hda1 opened to ordinary user as well?

发表于 : 2006-03-31 9:46
eexpress
lukerim 写了:I have the same problem reading the Windows partitions while I am not working as root user.

I found the privilege of /media/hda1 is dr--------, even the root user can not chmod 644 on it. (It's a read-only folder)

How can I do to make the /media/hda1 opened to ordinary user as well?
ntfs的是只读。加密目录是读也不行的。

发表于 : 2006-04-01 18:53
lukerim
那请问要怎样才能令普通用户能够读呢。

我想改成 440 的权限也不行。

难道要给普通用户专门写个挂载的脚本,每次启动?

发表于 : 2006-04-02 16:58
avauntage
临时用一下的话,可以用下面的命令,但是/dev/hda5和/home/avauntage/temp/是要换成你的分区和加载目录的。

$ sudo mount /dev/hda5 /home/avauntage/temp/ -t vfat -o utf8,user,umask=0


如果想开机就能用,在/etc/fstab里面加上一行:
/dev/hda5 /media/hda5 vfat utf8,user,umask=0 0 0

发表于 : 2006-04-02 18:43
bisha
我已经可以挂载拉,不过看不明启动就能用的命令,我会去尝试下的,谢

发表于 : 2006-04-02 19:31
avauntage
$ sudo gedit /etc/fstab
在打开的文件的末尾加一行
/dev/hda5 /media/hda5 vfat utf8,user,umask=0 0 0

/dev/hda5是你的硬盘的分区
/media/hda5这是一个目录,没有的话,先建一个。
$ sudo mkdir /media/hda5