Support blktype as an alternative to vol_id
authorGuido Trotter <ultrotter@google.com>
Mon, 19 Oct 2009 23:18:07 +0000 (19:18 -0400)
committerGuido Trotter <ultrotter@google.com>
Tue, 20 Oct 2009 15:50:51 +0000 (11:50 -0400)
commit17b5b2da0af36d75dc47d545cdf46eb0a0fc0d93
treedfe976d21ed00e5f16f5955b515b4b2091a35000
parentb84cc0f32946c0274536dfeeb37ace96abf23799
Support blktype as an alternative to vol_id

This is needed to run when the node os is debian squeeze or ubuntu
karmik. Since blktype and vol_id need different options, we include the
options in the command variable. Moreover we add a new VOL_TYPE command,
for that usage of vol_id/blktype.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
common.sh.in
create
export
import