Can file-backed memory disks act like slices?

Michael Dexter dexter at
Sun Aug 7 00:40:58 GMT 2005

Hello all,

I trust this is a Seldom Asked Question...

I am using file-backed memory disks (as in mdconfig -f) to prototype 

root.img gets mounted first and usr.img, var.img and tmp.img get 
mounted below it and as such they are behaving as partitions.

Is there any way to get a single memory disk to behave like a slice 
and itself be partitioned? That would give essentially:

or even

This would allow the four partition images to be combined into a 
single partitioned image.

Yes, I have a legitimate use for this. :)



More information about the freebsd-questions mailing list