AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080219155310.0f99a511@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<warren.gale@onstor.com>,<larry.scheer@onstor.com>,<tim.gardner@onstor.com>,<brian.stark@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
X-Sylpheed-End-Special-Headers: 1
Date: Tue, 19 Feb 2008 15:53:25 -0800
From: Andrew Sharp <andy.sharp@onstor.com>
To: Warren Gale <warren.gale@onstor.com>
Cc: Larry Scheer <larry.scheer@onstor.com>, Tim Gardner
 <tim.gardner@onstor.com>, Brian Stark <brian.stark@onstor.com>
Subject: boot command line argument matrix for coug
Message-ID: <20080219155325.7d94bf88@ripper.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

***************************************************************
***************************************************************
When autobooting:

source: CF card
===============

1 card inserted:

root=/dev/sda1 ip=none rootdelay=1

2 cards inserted:

root=/dev/${boot_dev} ip=none rootdelay=1


source: network
===============

root=/dev/nfs



***************************************************************
***************************************************************
When manually booting from the prom command line using the 'g' command:

If the user only types 'g' followed by return, same as above; otherwise,
only arguments specified on the command line after 'g'.


***************************************************************
***************************************************************


Examples
========

Autoload with 2 CF cards, source is CF card, boot_dev is 'sdb1'

arg[0] = "g"
arg[1] = "root=/dev/sdb1"
arg[2] = "ip=none"
arg[3] = "rootdelay=1"
arg[4] = NULL

Manual booting, source is network, user boots with just 'g':

arg[0] = "g"
arg[1] = "root=/dev/nfs"
arg[2] = NULL


