Wednesday, March 10, 2010

Difference between hardware and software RAID

RAID stands for redundant array of inexpensive disks.
RAID can be done either in hardware or software.

For computing machines such as desktops or servers,
hardware RAID is possible if the BIOS of the machine
supports a RAID option.

Alternatively, software RAID is possible if the operating
system supports RAID. Example, Ubuntu 9.04 and upwards
support software RAID options. These options are made
available when the user is setting up the operating

Monday, March 8, 2010

Starting a background bash process in Ruby

Consider this example, I want to execute my C++ code
which runs an infinite loop in the background through
my Ruby code.

The code is just a single line: { `./a.out myarg` }