1 |
On Thu, 8 Mar 2012 23:52:53 +0700, Pandu Poluan wrote: |
2 |
|
3 |
> > As an added note on this, rsync's --one-file-system (-x) flag is handy |
4 |
> > for avoiding grabbing unneeded things, but will typically leave you |
5 |
> > without the base few device nodes needed to boot the backup, those can |
6 |
> > either be grabbed from a stage3, or created with (courtesy of Linux |
7 |
> > From Scratch's section "6.2.1. Creating Initial Device Nodes"): |
8 |
> > |
9 |
> > mknod -m 600 ${backup}/dev/console c 5 1 |
10 |
> > mknod -m 666 ${backup}/dev/null c 1 3 |
11 |
> > |
12 |
> |
13 |
> ... or just add another rsync invocation to backup /dev ... |
14 |
|
15 |
That won't work because it will backup the full devfs mounted on /dev, |
16 |
not the files that exist in the directory itself. |
17 |
|
18 |
|
19 |
-- |
20 |
Neil Bothwick |
21 |
|
22 |
Despite the cost of living, have you noticed how it remains so popular? |