From owner-freebsd-questions@freebsd.org Mon Oct 5 16:41:37 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 86BDE99A54C for ; Mon, 5 Oct 2015 16:41:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C76E21C for ; Mon, 5 Oct 2015 16:41:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-41-64.dynamic.qsc.de [92.195.41.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id B64C23CBDD; Mon, 5 Oct 2015 18:41:34 +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 t95GfYrE009257; Mon, 5 Oct 2015 18:41:34 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 5 Oct 2015 18:41:34 +0200 From: Polytropon To: kpneal@pobox.com Cc: FreeBSD Questions !!!! Subject: Re: Install issues Message-Id: <20151005184134.306a3287.freebsd@edvax.de> In-Reply-To: <20151005160602.GA34349@neutralgood.org> References: <5612938F.4080508@hiwaay.net> <20151005173644.d3b9c5ce.freebsd@edvax.de> <20151005160602.GA34349@neutralgood.org> Reply-To: Polytropon 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 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2015 16:41:37 -0000 On Mon, 5 Oct 2015 12:06:02 -0400, kpneal@pobox.com wrote: > On Mon, Oct 05, 2015 at 05:36:44PM +0200, Polytropon wrote: > > On Mon, 5 Oct 2015 10:18:49 -0453.75, William A. Mahaffey III wrote: > > > I entered > > > 'ufs:/dev/da0s1a rw' & it proceeded to boot the installer. > > > > If I remember correctly, the boot process will mount root > > read-only, this is the default behaviour of single-user mode. > > That's why there is no "rw" option at this prompt; "rw" will > > therefore be ignored. Otherwise, the options from /etc/fstab > > would apply. > > I thought mountroot (prompt? loader.conf option) took a list of > filesystems to attempt to mount. Spaces between the possible roots. > So 'rw' would be examined only if the first filesystem wasn't > mountable. Hmmm... if I read /usr/src/sys/kern/vfs_mount.c correctly, it's around line 1850, the path for the root partition is set to "/" and the mount options to "ro" via mount_arg(). So no matter what you enter, it will be ignored if the first match is in the form ":" and can be mounted (read-only), see vfs_mountroot_ask() in the same file, around line 1900. Loder options (set via /boot/loader.conf or interactively) are being parsed as environmental variables and also considered in this process. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...