[Netkit.users] labs with symlinks
rimondin at dia.uniroma3.it
Thu Sep 4 16:16:08 CEST 2008
that's exactly what I was thinking about.
Csaba Kiraly wrote:
> Ok, you are right, tar could be useful for that.
> A solution to have both together might be to tar only the contents of
> the HOSTNAME directory, and not the directory itself.
> This would leave my method of easily replicating VMs, as well as your
> way of preserving special files.
> Massimo Rimondini wrote:
>> Dear Csaba,
>> thank you for pointing out this issue.The reason why we switched to tar
>> was exactly preserving special files, including symbolic links. However,
>> the condition you mention should be probably handled differently.
>> I am adding this request to our todo list, which we hope to carry out
>> Csaba Kiraly wrote:
>>> I had a lab which was using symlinks to create virtual machines.
>>> Something like this:
>>> node1 directory contains some files
>>> node2 -> node1 (a symlink to the node1 directory)
>>> In previous versions, lstart was starting both VMs and copying the
>>> to both.
>>> Now it starts both VMs, but copies only to node1.
>>> Was there a change in the phase 1 startup files? I see that now you
>>> with tar.
>>> Can you add the "-h" option to tar? This seems to fix the problem.
More information about the Netkit.users