Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Feb 2011 00:48:56 +0200
From:      Gleb Kurtsou <gleb.kurtsou@gmail.com>
To:        Gary Jennejohn <gljennjohn@googlemail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: building kernel including GEOM_VINUM
Message-ID:  <20110204224856.GA78229@tops.skynet.lt>
In-Reply-To: <20110204141254.1dd98de8@ernst.jennejohn.org>
References:  <4D4BE50A.7000705@bally-wulff.de> <20110204141254.1dd98de8@ernst.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On (04/02/2011 14:12), Gary Jennejohn wrote:
> On Fri, 04 Feb 2011 12:37:46 +0100
> Luca Pizzamiglio <l.pizzamiglio@bally-wulff.de> wrote:
> 
> > I'm Luca and I use FreeBSD for more than one year. And I'm happy for 
> > that! I'm using 7.3 and 8.1.
> > I started to use gvinum+geli and everything is fine.
> > But I've a little problem: for a specific update procedure, I need to 
> > build a kernel which includes Vinum, without module.
> >
> 
> And why do you need it in the kernel?  If you load it from /boot/loader.conf
> it will be running when the machine enters user mode.  Or don't you want to
> have any modules?
> 
> > I read on FreeBSD 
> > handbook that is possible (but not raccomended), but I don't find how...
> > 
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-config.html
> > 
> > I missed something or GEOM_VINUM is available just as a module?
> > 
> 
> It would probably require some major hacking.  Apparently gvinum was
> designed with using it only as a KLD in mind.
The change it trivial, just add files listed in
sys/modules/geom/geom_vinum/Makefile to sys/files.
It was also necessary it tweak /sbin/gvinum to check if module loaded
during startup to eliminate useless warning (afair).

I think original author has forgotten to add option to embed gvinum into
the kernel.

Unfortunately I'm not able to find the patch I've used (it was a while
ago).

Thanks,
Gleb.

> -- 
> Gary Jennejohn
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"



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