Re: About md panic

Matteo Riondato <[email protected]> Fri, 25 Aug 2006 16:47:54 +0200
Newsgroups gmane.os.freebsd.freesbie
Message-ID <20060825144754.GC52336@krapfengeist>
On Fri, Aug 25, 2006 at 04:32:53PM +0200, Dominique Goncalves wrote:
> Hi,
> 
> I added -o reserve where there is the -a option used with mdconfig but
> without luck.
> My change are avalaible at
> http://djdomics.free.fr/FreeBSD/freesbie2/patches/mdconfig-reserve.diff
> 
> When I boot an ISO (with unionfs enabled), I see errors like this:
> 
> mdconfig: must specify -f for -t vnode
> mdconfig: must specify -s for -t malloc or -t swap
> 
> I'm a bit lost :-(
> 
> What's wrong with my change ?

After a quick look at mdconfig source, I would say that you should
change:

mdconfig -a -t malloc -o compress , reserve -s ${etcsize}
with
mdconfig -a -t malloc -o compress -o reserve -s ${etcsize}
and so on.
 
To say more, I don't think you have to modify files in the scripts/
directory. 
Thanks for the time you're taking to solve this issue.
Best Regards
-- 
Matteo Riondato
FreeBSD Committer (http://www.freebsd.org)
G.U.F.I. Staff Member (http://www.gufi.org)
FreeSBIE Developer (http://www.freesbie.org)
-- 
FreeSBIE mailing list (http://www.freesbie.org)