From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-ch2-05v.sys.comcast.net ([69.252.207.37]:36140 "EHLO resqmta-ch2-05v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751109AbaK2ICo (ORCPT ); Sat, 29 Nov 2014 03:02:44 -0500 Message-ID: <54797DA2.2080103@pobox.com> Date: Sat, 29 Nov 2014 00:02:42 -0800 From: Robert White MIME-Version: 1.0 To: kreijack@inwind.it, Zygo Blaxell CC: linux-btrfs Subject: Re: BTRFS messes up snapshot LV with origin References: <2A57F99C-80AA-4FD4-AA41-57F02AD4E1A2@colorremedies.com> <546CB531.2060509@ubuntu.com> <20141121042814.GR17395@hungrycats.org> <5470C92E.1070607@inwind.it> <20141123001927.GO17380@hungrycats.org> <5474AF87.6090702@inwind.it> <20141125202948.GP17380@hungrycats.org> <5474FBD9.5070709@inwind.it> <20141125222126.GQ17380@hungrycats.org> <54760B89.3050604@inwind.it> <20141127041510.GV17380@hungrycats.org> <5478AB6C.7030809@inwind.it> <54792084.6060404@pobox.com> <5479774E.1050302@inwind.it> In-Reply-To: <5479774E.1050302@inwind.it> Content-Type: text/plain; charset=windows-1252; format=flowed Sender: linux-btrfs-owner@vger.kernel.org List-ID: On 11/28/2014 11:35 PM, Goffredo Baroncelli wrote: > I agree with you; but I have to find a "default" so during the boot > a system can start even if snapshots are present. No, you really _don't_ need to find such a default. Better a system that doesn't boot than one that boots based on a guess. I've been spending a lot of time thinking about booting while writing underdog (http://underdog.sourceforge.net) and while booting is fragile, an even partially incorrect boot is a system and _security_ nightmare. If you start making preferential guesses then an intruder could trick the system into booting from a thumb-drive or other alternate media by coercing a UUID colision in a way that the system picks the new media. Conflicts should _never_ be guessed at during boot. Ever.