From owner-freebsd-questions@FreeBSD.ORG Mon Oct 14 14:12:22 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 685E2460 for ; Mon, 14 Oct 2013 14:12:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2BB452B3A for ; Mon, 14 Oct 2013 14:12:21 +0000 (UTC) Received: from r56.edvax.de (port-92-195-74-65.dynamic.qsc.de [92.195.74.65]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id D3B2524B66; Mon, 14 Oct 2013 16:12:13 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r9EEC6jV001944; Mon, 14 Oct 2013 16:12:06 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 14 Oct 2013 16:12:06 +0200 From: Polytropon To: Warren Block Subject: Re: Reinstall without reformat Message-Id: <20131014161206.c4bda8cf.freebsd@edvax.de> In-Reply-To: References: <20131013172430.71AA26018E@smtp.hushmail.com> <20131014040742.d03fa5bd.freebsd@edvax.de> <20131014072118.8a49bd58.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Kenta Suzumoto , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Oct 2013 14:12:22 -0000 On Mon, 14 Oct 2013 07:51:15 -0600 (MDT), Warren Block wrote: > It is possible to mount filesystems manually from the shell and have > bsdinstall continue with the install without formatting them. It's been > a while since I tried that, and I don't recall the exact details. > bsdinstall(8) suggests it may be as easy as just having the existing > filesystems mounted at /mnt. Still, not something to try without a > backup. So if I understand everything correctly, the "decision logic" is -- when partitions do already exist -- as follows: a) existing partitions not mounted: run newfs mount partitions copy files b) existing partitions mounted: do not run newfs copy files The installer itself doesn't seem to give a hint about this logic, even though the manual _might_ suggest it. I haven't examined the source code to fully verify this logic, even though it would be a reasonable approach. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...