Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MhsNA-0002qT-KG for mharc-grub-devel@gnu.org; Sun, 30 Aug 2009 17:55:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MhsN8-0002nj-GJ for grub-devel@gnu.org; Sun, 30 Aug 2009 17:55:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MhsN7-0002lw-DX for grub-devel@gnu.org; Sun, 30 Aug 2009 17:55:38 -0400 Received: from [199.232.76.173] (port=40034 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MhsN7-0002lt-A8 for grub-devel@gnu.org; Sun, 30 Aug 2009 17:55:37 -0400 Received: from hall.aurel32.net ([88.191.82.174]:48942) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MhsN6-0000Io-U5 for grub-devel@gnu.org; Sun, 30 Aug 2009 17:55:37 -0400 Received: from aurel32 by hall.aurel32.net with local (Exim 4.69) (envelope-from ) id 1MhsN5-0001Eq-Cl for grub-devel@gnu.org; Sun, 30 Aug 2009 23:55:35 +0200 Date: Sun, 30 Aug 2009 23:55:35 +0200 From: Aurelien Jarno To: grub-devel@gnu.org Message-ID: <20090830215535.GA748@hall.aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline X-Mailer: Mutt 1.5.18 (2008-05-17) User-Agent: Mutt/1.5.18 (2008-05-17) Sender: Aurelien Jarno X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: [FreeBSD] mounting root with rw X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 21:55:38 -0000 Hi all, The current version of /etc/grub.d/10_freebsd tries to mount the root file system rw via this option: | set FreeBSD.vfs.root.mountfrom.options=rw However this option is useless as the kernel explicitly remove this option for the root file system (sys/kern/vfs_mount.c) | if( strcmp(name, "rw") == 0 || | strcmp(name, "noro") == 0) { | /* | * The first time we mount the root file system, | * we need to mount 'ro', so We need to ignore | * 'rw' and 'noro' mount options. | */ | continue; | } So it looks like this option is useless (but do not hurt). Can someone confirm that? Thanks, Aurelien -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net