Josh Grosse wrote:
On Mon, 15 Dec 2008 14:24:18 +0000, Dave Wilson wrote
...I'm trying
to create a 2G MFS for /usr/obj, but if I go much above 2000000 with
mount_mfs I get an error...
For /usr/obj on i386, my userland build script creates two MFS mounts, builds
sparse files on them, assigns the sparse files to svnd1 and svnd2,
concatenates them with softraid, and mounts the newly formatted larger
"MFS-ish" partition as part of its setup steps.
I do one for obj, one for obj/lib and one for obj/gnu which makes
it all work even though the limit is at 1G for i386.
Just make the first get populated from a skeleton dir having lib and gnu
there already so they can mount onto something:
swap /usr/obj mfs rw,async,-s=1924000,-P/usr/skel-obj 0 0
swap /usr/obj/lib mfs rw,async,-s=1936000 0 0
swap /usr/obj/gnu mfs rw,async,-s=1936000 0 0