Can file-backed memory disks act like slices?
Giorgos Keramidas
keramida at ceid.upatras.gr
Sun Aug 7 03:28:20 GMT 2005
On 2005-08-07 02:13, Michael Dexter <dexter at ambidexter.com> wrote:
>
> Hello all,
> I trust this is a Seldom Asked Question...
A very good one though.
> 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
Yes. This should work fine. I usually create just one slice in my
memory disks and then label the slice as usual.
> This would allow the four partition images to be combined into a
> single partitioned image.
>
> Yes, I have a legitimate use for this. :)
HEH :)
More information about the freebsd-questions
mailing list