Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fun Linux Tip of the Day
Message
General information
Forum:
Linux
Category:
Other
Miscellaneous
Thread ID:
00434840
Message ID:
00435931
Views:
11
>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
Map
View

Click here to load this message in the networking platform