this is not the fai nfsroot >.<

Toomas Tamm tt-fai at kky.ttu.ee
Wed Jun 13 10:18:01 CEST 2012


On Tue, 2012-06-12 at 20:24 +0200, Thomas Neumann wrote:
> Hello dear list
> 
> This is just a small word of caution. Please do not:
> 
>  cd /srv/fai/nfsroot
>  tar czf /tmp/fai-nfsroot[...].tar.gz *

An all-inclusive alternative that works in most cases is

tar czf /tmp/fai-nfsroot[...].tar.gz .

The "." instead of "*" adds an extra "./" to the beginning of all
filenames, which may be undesirable in some cases, and the mode and
ownership of "." may change upon unpacking, but for just moving a whole
tree around, as the same user (typically root), it works fine and
includes all the dot-files.

Toomas



More information about the linux-fai mailing list