Cloning a jail

2003-04-01 Thread Hari Bhaskaran
Hi, When I need to clone a jail, would a cp -Rp do? (and change rc.conf). Or do I have to go through the jail(8) steps again? (make hierarchy, install etc). By 'clone', I meant an identical jail session, on top of which I will install other packages, not necessarily same on both. Also can I

Re: Cloning a jail

2003-04-01 Thread Kirk Strauser
At 2003-04-01T14:32:51Z, Hari Bhaskaran [EMAIL PROTECTED] writes: When I need to clone a jail, would a cp -Rp do? I don't know about `cp' (I'm not sure how well it deals with device nodes, symlinks, etc), but yes, making an exact copy of the file structure should result in an identical jail.

Re: Cloning a jail

2003-04-01 Thread Axel Gruner
Hi. On Tue, 1 Apr 2003 08:32:51 -0600 Hari Bhaskaran [EMAIL PROTECTED] wrote: When I need to clone a jail, would a cp -Rp do? Yes and no. To do a exact copy of a jail, use the cpdup program (it is in the ports). (and change rc.conf). Or do I have to go through the jail(8) steps again?