Date: Mon, 13 Aug 2007 11:27:06 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-chat@FreeBSD.ORG, Josh Paetzel <josh@tcbug.org> Subject: Re: Creating and copying jail images Message-ID: <200708130927.l7D9R6LI013937@lurza.secnetix.de> In-Reply-To: <20070810181342.GG83613@tcbug.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Josh Paetzel wrote: > Problem: I need to create a jail image that I can deploy on multiple > servers, ala a generic apache jail or postgresql jail or whatever. I > need to be able to simply explode this image in to a directory and > have it work, I'd also like to be able to compress the image because > it occasionally has to go over lower-speed WAN links. > > Here are the tools that I've investigated and the problems I've had > with them: > > tar, cpio, pax: All 3 of these tools have problems with various > combinations of meta-data, links, and things like device nodes. What exactly is the problem with tar (bsdtar)? It handles hard links, file flags (be sure to specify the -p option when extracting) and everything else that's necessary. By the way, you don't need device nodes anymore because of DEVFS. I think device nodes outside of DEVFS don't work anymore anyway, so they're useless. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Software gets slower faster than hardware gets faster." -- Niklaus Wirth
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708130927.l7D9R6LI013937>