Mark Knecht wrote:

On Tue, 2004-02-03 at 17:28, Marshal Newrock wrote:


On Tue, 3 Feb 2004, Mark Knecht wrote:



How about just unmounting the disk and trying:
dd if=/dev/cdrom of=EXILE_DISK_1.iso
perhaps? That'll give you an exact (and burnable) copy of the disk.


Not a happy dd process...

Gentoo2 root # dd if=/dev/cdrom of=EXILE_DISK_1.iso
dd: reading `/dev/cdrom':Input/oupuut error
3304+0 records in
3304+0 records out
Gentoo2 root #


That's correct.  You get an I/O error when it hits the end of the disk.
If you mount the .iso on loopback, you'll see it's complete.

readcd (which I think comes with cdrtools) also does a similar thing.



That's really interesting. Can you explain 'mounting on loopback'? What
is that? I only have one Linux book (Linux in a Nutshell) and it doesn't
have loopback in the index.


It allows you to mount a file system from a file (it loops accesses to this nested file system back into VFS,
hence the name). As already pointed out, you need kernel support and the "-o loop" option to mount. For
example, you can mount an ISO image resting on a hard disk-based FS to one directory, and then mount a ROMFS image
off the mounted ISO FS to another directory. I actually tried this, it really works!


You just have to unmount in the reverse order of mounting these nested file systems (otherwise umount will simply tell you that
the file system is still in use).



-- [EMAIL PROTECTED] mailing list



Reply via email to