Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2013 16:12:06 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Warren Block <wblock@wonkity.com>
Cc:        Kenta Suzumoto <kentas@hush.com>, freebsd-questions@freebsd.org
Subject:   Re: Reinstall without reformat
Message-ID:  <20131014161206.c4bda8cf.freebsd@edvax.de>
In-Reply-To: <alpine.BSF.2.00.1310140740140.86796@wonkity.com>
References:  <20131013172430.71AA26018E@smtp.hushmail.com> <20131014040742.d03fa5bd.freebsd@edvax.de> <alpine.BSF.2.00.1310132258540.82895@wonkity.com> <20131014072118.8a49bd58.freebsd@edvax.de> <alpine.BSF.2.00.1310140740140.86796@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131014161206.c4bda8cf.freebsd>