Archive for July, 2005

Helper functions

Friday, July 29th, 2005

Some functions providing nice output formatting and easier user input parsing used by some of my scripts. Get them. Or view them…

#!/bin/bash
#
# Wed Aug 17 11:57:21 CEST 2005 * Miguel de Benito <nonick AT 8027 DOT org>
#
# Helper functions for my scripts
#
 
# Some colors
#
BLUE="\033[34;01m"
CYAN="\033[36;01m"
GREEN="\033[32;01m"
RED="\033[31;01m"
OFF="\033[0m"
 
 
#
# Required tools
#
 
[ ! -x /bin/stty ] && error_msg "/bin/stty is […]

Software RAID 1 on SuSE 9.2

Thursday, July 28th, 2005

Here is a brief description of what I had to do to migrate my running SusE 9.2 filesystem to a RAID1 made of my current hard drive and a new (identical) one.

The steps are almost exactly those explained here by Lucas Albers, with slight variations and surely many omissions. Please keep in mind that these […]