On Thu, 8 Mar 2012 23:52:53 +0700, Pandu Poluan wrote:

> > 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 ...

That won't work because it will backup the full devfs mounted on /dev,
not the files that exist in the directory itself.


-- 
Neil Bothwick

Despite the cost of living, have you noticed how it remains so popular?

Attachment: signature.asc
Description: PGP signature

Reply via email to