Date: Sun, 7 Aug 2005 05:52:12 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Michael Dexter <dexter@ambidexter.com> Cc: freebsd-questions@FreeBSD.org Subject: Re: Can file-backed memory disks act like slices? Message-ID: <20050807025212.GA8039@gothmog.gr> In-Reply-To: <a06230963bf1af2050150@[192.168.1.102]> References: <a06230963bf1af2050150@[192.168.1.102]>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-08-07 02:13, Michael Dexter <dexter@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 :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050807025212.GA8039>