From: Ian Pratt <Ian.Pratt@cl...> - 2004-10-28 12:49:34
> I am (finally) porting my setup code to use the automatic loopback
> disk='file:/blah' stuff rather than setting up the loopback devices myself.
> This doesn't seem to work when the file is backing a whole 'device' rather
> than just a partition hosting a filesystem? (i.e. the file actually contains
> partitions which then hold filesystems)
I don't believe the standard loop back device supports whole
device. Are you using the NASA enhanced loop back device patch?
I guess you'd need to use this patch in domain 0 to populate the
file in the first place. The other domains won't care.
However, It's not immediately obvious to me why the standard
script that handles setting up loopback devices cares whether
you're exporting partitions or a whole disk.
Any reason not to have a file per partition? (Unless you want to
let your domains partition their 'disk' however they see fit.)