Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Aug 2005 02:13:26 +0300
From:      Michael Dexter <dexter@ambidexter.com>
To:        freebsd-questions@freebsd.org
Subject:   Can file-backed memory disks act like slices?
Message-ID:  <a06230963bf1af2050150@[192.168.1.102]>

next in thread | raw e-mail | index | archive | help

Hello all,

I trust this is a Seldom Asked Question...

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

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:

/dev/md0a
or even
/dev/md0s1a

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

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

Appreciated,

Michael.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a06230963bf1af2050150>