Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MPhNM-0007MM-Jh for mharc-grub-devel@gnu.org; Sat, 11 Jul 2009 14:32:44 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MPhNL-0007Ke-DX for grub-devel@gnu.org; Sat, 11 Jul 2009 14:32:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MPhNG-0007Ds-Nw for grub-devel@gnu.org; Sat, 11 Jul 2009 14:32:42 -0400 Received: from [199.232.76.173] (port=49783 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPhNG-0007DS-AI for grub-devel@gnu.org; Sat, 11 Jul 2009 14:32:38 -0400 Received: from smarthost01.mail.zen.net.uk ([212.23.3.140]:45804) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MPhNF-0001I0-QD for grub-devel@gnu.org; Sat, 11 Jul 2009 14:32:37 -0400 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost01.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1MPhNE-0001Zi-Kf for grub-devel@gnu.org; Sat, 11 Jul 2009 18:32:36 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1MPhNE-0007Lo-00; Sat, 11 Jul 2009 19:32:36 +0100 Date: Sat, 11 Jul 2009 19:32:36 +0100 From: Colin Watson To: The development of GRUB 2 Message-ID: <20090711183235.GM11691@riva.ucam.org> References: <20090704201846.GD27480@thorin> <20090707183933.GA14645@thorin> <1247033954.2895.9.camel@ct> <20090710171145.GB17114@thorin> <4A57B252.7080805@earthlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost01-IP: [82.69.40.219] X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Some ideas about new features of grub 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: Sat, 11 Jul 2009 18:32:43 -0000 On Sat, Jul 11, 2009 at 06:20:13PM +0200, Michal Suchanek wrote: > The other problem is that scripts like os-prober that use linux > filesystem code for probing filesystems destroy your data. > > Linux cannot mount journalled filesystems readonly. It always modifies > them. The extent of the modifications and the impact may vary > depending on the state of the filesystem (clean/mounted) and the way > you are going to use it in the future (resume the system/fresh boot) > but until Linux people implement readonly filesystem support any Linux > based os-probers cannot be recommended. I'm pretty sure this is fixable with blockdev --setro. The main reason we haven't got round to doing this in os-prober yet is that we need to get round to adding blockdev to busybox (which is important for os-prober's original purpose, the Debian installer). -- Colin Watson [cjwatson@ubuntu.com]