CD mount with offset fails in 2.4.x

From: Bill Davidsen (davidsen@tmr.com)
Date: Thu Aug 23 2001 - 15:36:09 EST


Mounting a CD using an offset, such as:
  mount -o ro,offset=51200 /dev/cdrom /mnt
works in 2.0 and 2.2 kernels. It does not work in any recent 2.4 kernel,
back through 2.4.4 or so.

I get CDs with binary data followed by an ISO9660 image, and I would
really rather not have to pull them to disk, etc, to read the human info
associated with the firmware. For some reason it gets an unknow or invalid
filetype message.

Copying the whole CD including firmware to disk and mounting with a file
in place of the /dev/cdrom works with offset. Using a 2.0.33 kernel on the
same hardware works (I left the old drive in and upgraded on another, so I
could try).

If this is some bizarre design decision could someone at least tell me so
before I try to find the problem and submit a patch?

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:01:01 EST