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