Loop devices under NTFS
Hello,
I don't know if this is kernel-related.
I'me trying to mount my redhat iso's off an NTFS mount but I get a strange error. Here is the exact command I am entering:
"mount -o loop -r -t iso9660 /mnt/win_d/Source/Iso/Red\ Hat\ 7.3/valhalla-i386-disc1.iso /mnt/rh7.3/cd1"
It gives me an error
"ioctl: LOOP_SET_FD: Invalid argument"
A quick grep found that "Invalid argument" comes from:
'acsi.c:322: { 0x24, "Invalid argument" }'
This might sound silly but I can't really seem to track it down. Yes loop devices are enabled in my kernel.
It might interest you that I am running an SMP system (with the AMD controller). But I don't think that should affect anything at such a higher level... You never know.
Anyone have any ideas?
Thanks!
*******************************
Andre Bonin
Student in Software Engineering
Lakehead University
Thunder Bay, Ontario
Canada
*******************************
Quoted 1 line · Andre Bonin
I don't know if this is kernel-related.
It is.
Quoted 9 lines
I'me trying to mount my redhat iso's off an NTFS mount but I get a strange error. Here is the exact command I am entering:
"mount -o loop -r -t iso9660 /mnt/win_d/Source/Iso/Red\ Hat\ 7.3/valhalla-i386-disc1.iso
/mnt/rh7.3/cd1"It gives me an error
"ioctl:LOOP_SET_FD: Invalid argument"A quick grep found that "Invalid argument" comes from:
'acsi.c:322: {0x24, "Invalid argument" }'
Your grep was too quick...
Quoted 1 line
Anyone have any ideas?
Yes, you forgot to tell us which kernel version you are using! And even more importantly which NTFS driver version?
If you are using 2.4.x then you are likely to have the old ntfs driver which does NOT support mounting of loopback devices.
If you are using 2.5.x then you have the new driver and what you did ought to have worked without problems. Also, if you are using 2.4.18/19/20-pre you could be using the new driver by installing our patches - you can get the patch for 2.4.19 from:
http://linux-ntfs.sf.net/downloads.html
or you can clone/pull from our bitkeeper repository which is currently at 2.4.20-pre4 or so:
http://linux-ntfs.bkbits.net/ntfs-2.4
So check your kernel & ntfs version and if your ntfs driver version is 1.* then you know you have the old driver and if you have 2.* then you know you have the new driver.
Once again the old driver will not work. The new one should work just fine.
Best regards,
Anton
Signature · 5 lines
"I've not lost my mind. It's backed up on tape somewhere." - Unknown -- Anton Altaparmakov <aia21 at cantab.net> (replace at with @) Linux NTFS Maintainer / IRC: #ntfs on irc.openprojects.net WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/