Jul 112010
 

From petur.eu

Howto download ISO files directly to a CD/DVD/BLU-RAY

It is possible to download .iso files directly onto a cd\dvd\blu-ray disk.

/dev/shm is a directory found on Debian & RedHat based distributions. (Please let me know if you find it on dists as well)
/dev/shm is a dynamic RAM disk, meaning it’s size will grow and shrink with the size of the files placed there.

The following process is especially ideal for users running Linux from RAM or small USB sticks. No drive space will be used during the process & only a very small amount of RAM is used.

First create a FIFO (first in first out) on /dev/shm

Next we command the burner to write any data written to the FIFO onto the preferred medium (dvd, cd, blu-ray, etc.)

Then we download the file ‘directly’ onto the preferred medium through the FIFO.

And finally we remove the FIFO.

I’ll demonstrate this by downloading the “Fedora Core 13 LIVECD” ISO to a CD.

petur@laptop:~$ mkfifo /dev/shm/fedora-fifo
petur@laptop:~$ cdrecord /dev/shm/fedora-fifo &
petur@laptop:~$ wget http://ftp.crc.dk/fedora/linux/releases/13/Live/i686/Fedora-13-i686-Live.iso -O /dev/shm/fedora-fifo
petur@laptop:~$ rm /dev/shm/fedora-fifo

Attention! The -O parameter used with wget is case sensitive!

Threw this one up for my own infoz…

Share This!
 Posted by at 3:27 am

Sorry, the comment form is closed at this time.