Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#!/bin/rc
2
# addaoe let unit - add an AoE logical unit as sd$let
3
if (! ~ $#* 2 || ! ~ $1 ? || ! ~ $2 *.*) {
4
	echo usage: $0 letter aoe-lun >[1=2]
5
	exit usage
6
}
7
if (test -e /dev/aoe/$2 && ! test -e /dev/sd^$1^0)
8
	echo config switch on spec $1 type aoe//dev/aoe/$2 >/dev/sdctl