Creating and copying jail images
Oliver Fromme
olli at lurza.secnetix.de
Mon Aug 13 09:27:14 UTC 2007
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
More information about the freebsd-chat
mailing list