From owner-freebsd-stable@FreeBSD.ORG Thu Mar 6 13:57:32 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7343D1065670 for ; Thu, 6 Mar 2008 13:57:32 +0000 (UTC) (envelope-from bluegod@bluegod.net) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 0580C8FC1A for ; Thu, 6 Mar 2008 13:57:31 +0000 (UTC) (envelope-from bluegod@bluegod.net) Received: by ug-out-1314.google.com with SMTP id y2so3932380uge.37 for ; Thu, 06 Mar 2008 05:57:30 -0800 (PST) Received: by 10.67.101.17 with SMTP id d17mr647320ugm.4.1204811849457; Thu, 06 Mar 2008 05:57:29 -0800 (PST) Received: from apple.lan ( [212.145.109.197]) by mx.google.com with ESMTPS id l33sm4677776ugc.67.2008.03.06.05.57.27 (version=SSLv3 cipher=RC4-MD5); Thu, 06 Mar 2008 05:57:28 -0800 (PST) Message-ID: <47CFF846.2030709@bluegod.net> Date: Thu, 06 Mar 2008 14:57:26 +0100 From: =?ISO-8859-1?Q?=22James_L=F3pez_=28BLuEGoD=29=22?= User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <47CE6C6B.8060306@bluegod.net> <47CFE384.4060607@bluegod.net> <20080306132859.GA88810@eos.sc1.parodius.com> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: kernel backup on 7.0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2008 13:57:32 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ivan Voras escribió: | Jeremy Chadwick wrote: |> On Thu, Mar 06, 2008 at 01:58:08PM +0100, Ivan Voras wrote: |>> James López (BLuEGoD) wrote: |>> |>>> Not exactly.. What I mean is that I want to reinstall FreeBSD due to |>>> some accidentally deleted files and a behavior on sendfile :S |>>> So I would like to know if I can backup /boot and the overwrite it once |>>> I have freebsd installed again... |>> Yes. If you don't change FreeBSD versions or hardware, this will work. In my case I have FreeBSD 7.0 and I will reinstall the same version :) Thanks for all :) |> Clarification: it _might_ work. |> |> You need to keep in mind that the kernel/modules he's backing up will |> very likely *not* match all the binaries he has on his disks, library |> calls, possibly system calls, etc. etc... This is why building world |> includes both all the binaries *as well* as the kernel. | | I agree, but I think this is covered by "not changing FreeBSD versions" :) | |> The reason I point this out is, when certain things in kernel-land |> change which certain programs rely upon (but haven't been recompiled to |> be aware of that change), odd things can happen. The most "famous" of |> the bunch is when top(1) or ps(1) start failing in bizarre ways. |> |> Thus, my point: it *probably* will work, but DO NOT assume that it will. | | To be even more precise, it will probably (with very high certainty) | work for two FreeBSD versions x1.y1 and x2.y2 if x1 == x2 and y1 <= y2. | It will probably also work for any combination of y1 and y2 as long as | x1 == x2. It will probably fail if x1 != x2. | - -- ~ ___ _ ___ ___ ___ _ _ ___ ~ | . >| | _ _ | __>/ _> ___ | . \ | \ | ___|_ _| ~ | . \| |_| | || _> |<_/\/ . \| | | _ | |/ ._>| | ~ |___/|___|___||___>____/\___/|___/<_>|_\_|\___.|_| ~ -- BLuEGoD (James LÛpez) bluegod@bluegod.net ------- ~ -- Public Key: Search 'BLuEGoD' on www.keyserver.net ~ --------------- WwW.BLuEGoD.NeT -------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFHz/hGACIwOm/T2YIRAvqNAKCkur2HdtKyuoilU9Q3i215H1IeuACePOdn +coxVhSAPeKfsnqi3rIQHow= =QmU2 -----END PGP SIGNATURE-----