>Creating and mounting cd images on the fly.
>
>Why bother with pesky cd ripper tools?
>To create an ISO image:
>
>dd if=/dev/cdrom of=/home/tux/MyCDImage.iso
>
>Where /dev/cdrom is the cdrom device that you are writing from (NOT THE MOUNTPOINT).
>
>Then, to mount a cd image as a FS (Read Only of course):
>
>mount /home/tux/MyCDImage.iso /mnt/FauxCD -t iso9660 -o loop
>
>where /mnt/FauxCD is any empty directory.
That's sweet...one additional note, you will need to have the loopback filesystem type support compiled into your kernel or laoded as a module...mine didn't have that by default, though with cdripping and all becoming more common, the later pre-built kernels probably do have it enabled -- not sure...
Nice tip!
JoeK
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only