From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S5gd5-0005VX-DL for garchives@archives.gentoo.org; Thu, 08 Mar 2012 16:55:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11D2FE08AD; Thu, 8 Mar 2012 16:55:26 +0000 (UTC) Received: from svr-us4.tirtonadi.com (svr-us4.tirtonadi.com [69.65.43.212]) by pigeon.gentoo.org (Postfix) with ESMTP id 34427E08F1 for ; Thu, 8 Mar 2012 16:52:57 +0000 (UTC) Received: from mail-vx0-f181.google.com ([209.85.220.181]) by svr-us4.tirtonadi.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.69) (envelope-from ) id 1S5gaJ-0003tJ-Ka for gentoo-user@lists.gentoo.org; Thu, 08 Mar 2012 23:52:59 +0700 Received: by vcge1 with SMTP id e1so621746vcg.40 for ; Thu, 08 Mar 2012 08:52:54 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.52.91.193 with SMTP id cg1mr11059096vdb.21.1331225573991; Thu, 08 Mar 2012 08:52:53 -0800 (PST) Received: by 10.220.58.200 with HTTP; Thu, 8 Mar 2012 08:52:53 -0800 (PST) Received: by 10.220.58.200 with HTTP; Thu, 8 Mar 2012 08:52:53 -0800 (PST) In-Reply-To: References: <612c6e461165dfa7a04d0a8459f2e90d.squirrel@derek.d-danks.co.uk> Date: Thu, 8 Mar 2012 23:52:53 +0700 Message-ID: Subject: Re: [gentoo-user] Clone live system as a simple backup? From: Pandu Poluan To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=bcaec5015d237422c204babe1b93 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - svr-us4.tirtonadi.com X-AntiAbuse: Original Domain - lists.gentoo.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - poluan.info X-Archives-Salt: fc3c5bab-db78-4206-9e3d-dbd6aeaeb1bd X-Archives-Hash: fb147c4b82c32e15ff63751341cd0d1c --bcaec5015d237422c204babe1b93 Content-Type: text/plain; charset=UTF-8 On Mar 8, 2012 2:50 AM, "Joshua Murphy" 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, --bcaec5015d237422c204babe1b93 Content-Type: text/html; charset=UTF-8


On Mar 8, 2012 2:50 AM, "Joshua Murphy" <poisonbl@gmail.com> 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,

--bcaec5015d237422c204babe1b93--