打印

mount iso时的问题

mount iso时的问题

[root@redcomet rh]# mount -o loop shrike-i386-disc1.iso /mnt/iso
ioctl: LOOP_SET_FD: 无效的参数
[root@redcomet rh]# mount -t iso9660 -o loop shrike-i386-disc1.iso /mnt/iso
ioctl: LOOP_SET_FD: 无效的参数

大家指点一下
谢谢

TOP

你的iso不是放在ntfs上的吧?如果是,将iso文件移到fat区去再试试
还有

TOP

说不定你的iso有问题,校验一下

TOP

移到FAT32上后已经解决,谢谢
可是能否在NTFS上也正确加载

TOP

mandrake的估计行,redhat类的应该不行

TOP

是不是loop加载的时候要在远ISO所在地写东西

TOP

why u think mandrake can while redhat can not?
from loop.c loop_set_fd() u can see that, it needs readpage operation otherwise will return the -EINVAL. And ntfs implementation does not have such operation, while ext2, ext3 have. so i think this is the real reason. am i wrong?
Time is always not enough!

TOP

恩恩,和我的看法一样,是要rw权
MDK的话对NTFS好像支持比较好一点,至少已经把NTFS支持直接编进内核了,就是知道支不支持写操作
我呆会儿去试试

TOP

[quote:6b755f50eb="cheungming"]why u think mandrake can while redhat can not?
from loop.c loop_set_fd() u can see that, it needs readpage operation otherwise will return the -EINVAL. And ntfs implementation does not have such operation, while ext2, ext3 have. so i think this is the real reason. am i wrong?[/quote]

我看不懂源码 :-(

TOP

[quote:4a1499084e="redcomet"]恩恩,和我的看法一样,是要rw权
MDK的话对NTFS好像支持比较好一点,至少已经把NTFS支持直接编进内核了,就是知道支不支持写操作
我呆会儿去试试[/quote]

no, nothing with rw right. it does not support readpage operation, but still support read operation. u can try to mount a read only ext2 and test on it, should be ok as well.
compiling a module into a kernel can not indicate it has better support. there are two ways to show. one to mount and test under rh and mdk, another is to compare the ntfs source code. i guess they are similar.

TOP

[quote:44ce2df6de="llc"]

我看不懂源码 :-([/quote]

unbelieveable, llc is so strong in this forum.     

TOP

不骗你,我的C水平弱智得厉害
没有必要时,我实在不想强迫自己对着那些源码

TOP

ic, understand. sb like to read code, sb hate.
Time is always not enough!

TOP

[quote:9b893834c0="cheungming"][quote:9b893834c0="redcomet"]恩恩,和我的看法一样,是要rw权
MDK的话对NTFS好像支持比较好一点,至少已经把NTFS支持直接编进内核了,就是知道支不支持写操作
我呆会儿去试试[/quote]

no, nothing with rw right. it does not support readpage operation, but still support read operation. u can try to mount a read only ext2 and test on it, should be ok as well.
compiling a module into a kernel can not indicate it has better support. there are two ways to show. one to mount and test under rh and mdk, another is to compare the ntfs source code. i guess they are similar.[/quote]

受教了,专业英语不过关,readpage operation没弄清楚

TOP

u english is fine. that is only because kernel code treat read and readpage are different operations.
Time is always not enough!

TOP