On Mar 8, 2012 2:50 AM, "Joshua Murphy" <[email protected]> wrote:
>
---- >8 snip
>
> As an added note on this, rsync's --one-file-system (-x) flag is handy
> for avoiding grabbing unneeded things, but will typically leave you
> without the base few device nodes needed to boot the backup, those can
> either be grabbed from a stage3, or created with (courtesy of Linux
> From Scratch's section "6.2.1. Creating Initial Device Nodes"):
>
> mknod -m 600 ${backup}/dev/console c 5 1
> mknod -m 666 ${backup}/dev/null c 1 3
>
... or just add another rsync invocation to backup /dev ...
Rgds,