Skip to content

Commit

Permalink
layout: list Xen paravirtualized disks in disklayout.conf
Browse files Browse the repository at this point in the history
This fixes #74 and SF3520992.
  • Loading branch information
jhoekx committed May 7, 2012
1 parent 3f846a6 commit 1277d4b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -239,7 +239,7 @@ Log "Saving disk partitions."
# Disk sizes
# format: disk <disk> <sectors> <partition label type>
for disk in /sys/block/* ; do
if [[ ${disk#/sys/block/} = @(hd*|sd*|cciss*|vd*) ]] ; then
if [[ ${disk#/sys/block/} = @(hd*|sd*|cciss*|vd*|xvd*) ]] ; then
devname=$(get_device_name $disk)
devsize=$(get_disk_size ${disk#/sys/block/})

Expand Down

0 comments on commit 1277d4b

Please sign in to comment.