Tuesday, May 27, 2008

Mount ISO images as physical devices

Here is a great how-to with mounting ISO images as though they were a physical device like a CD-ROM or DVD drive:

http://www.cyberciti.biz/tips/how-to-mount-iso-image-under-linux.html

Tag cloud generation

Of the many that I have tried, this website is the best for tag cloud generation:

http://www.tagcloud-generator.com/index.php

Execute any custom command on bootup (Ubuntu, Debian)

This command is for anything that you would like to execute after the system has been started and all of the scripts in /etc/init.d/ have been run. If you want them to execute afterwards, put it in

/etc/rc.local

This is rather useful for network mounts, changes to hardware configuration, or custom programs that need to be started at boot. Make sure to make the file executable through the command: $sudo chmod +x /etc/rc.local

Mount a cdrom from the command line

To mount a cdrom (or DVD) from the command line, do the following:

#mount -t iso9660 -o ro <device> <mountedDirectory>

Example:

# mount -t iso9660 -o ro /dev/cdrom /media/cdrom

Note: make sure that /media/cdrom exists.

Sunday, May 4, 2008

Copying DVDs from the command line

Would you like to store a backup of your DVD collection to disk? Here is how, using vobcopy, a lossless copy:

#vobcopy [--large-file] [-verbose] [-input-dir DVD_DEVICE]

Example:

#vobcopy -l -v -i /dev/dvd