Re: "loop device recursion avoidance" patch causes difficulties

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Luboš Doležel wrote:
Hello,

I've created a bugreport at http://bugme.osdl.org/show_bug.cgi?id=4472
and I was advised to write to this list.

A patch called "loop device recursion avoidance" which appeared in
2.6.11 kernel has complicated ISO image mounting from another mounted
media.

Example:

# mount /mnt/dvd
# mount -o loop /mnt/dvd/file.iso /somedir

The mount command produces this error: "ioctl: LOOP_SET_FD: Invalid argument".

This operation maybe is a kind of recursion but I think that recursion
should be limited - not disabled.
Now I have to copy the ISO image to my hdd before mounting. I used to
put CD backups on DVDs; now it's more complicated to use.

Far worse than complicated, it just doesn't work... I'm glad you found this before I did, I have loads of similar things, created when a number of small system were decomissioned and each partition was written raw as a file. Like:
  machineA/part1
  machineA/part2
  machineB/part1
and similar. These were all 525MB drives, but the data is moderately critical. I've been successful mounting with all older kernel, except the SysVR4 images, which have a filesystem Linux can't handle (from Dell's brief adventure with SysVR4). Now it appears that I will have to copy the data to a drive to use it, which is a minor pain since the process is in scripts.

Another case of fixing a problem without completely understanding it, I fear. At least one machine had a partition with floppy images, I hope they weren't loop mounting them, although it's likely they just burn a fresh floppy when needed (boot disks for control PCs).

--
   -bill davidsen ([email protected])
"The secret to procrastination is to put things off until the
 last possible moment - but no longer"  -me
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux