On Mon, 09 Sep 2013 08:30:24 +0200, Michael Hampicke wrote:

> Tar with permission preservation is fine. Just exlude everything in
> dev/sys/proc/tmp as you said. But make sure, that these directories are
> in your tar file, it does not matter if they are empty, but they have to
> exist in order to boot proplery.
> 
> One special case. To boot you most likely will need /dev/console and
> /dev/null. Just inlcude those two device nodes in your tar file.

Instead of all that, you could bind-mount / somewhere and just make a
tarball of that. That way you exclude any other filesystems (which can
also be done with --one-filesystem) and include any device nodes in the
underlying /dev directory.


-- 
Neil Bothwick

It may be that your sole purpose in life is simply to serve as a
warning to others.

Attachment: signature.asc
Description: PGP signature

Reply via email to