Patch for setup_harddisks to use it for Xen-Domains "without disk"

Maximilian Wilhelm max at rfc2324.org
Fri Nov 23 22:27:34 CET 2007


Hi!

The attached patch adds simple support for Xen Dom-Us which don't have
"a disk" as such (read: Not /dev/xvd[a-z] device) but get every
"partition" as a single /dev/xvd[a-z][0-9]+ device.

setup_harddisks now does not care about disk sizes and partion tables
anymore when class XENU is set and not /dev/xvda is found but a least
on of /dev/xvda[0-9].

Maybe the check for class XENU can be omitted.

(I know that this version of setup_harddisks is old[tm], but this is
 the one used in our FAI...)

Comments?

Ciao
Max
-- 
	Follow the white penguin.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup_harddisks.xenu.patch
Type: text/x-diff
Size: 3656 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai-devel/attachments/20071123/3faf9454/attachment.bin 


More information about the linux-fai-devel mailing list