From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755182AbXEDN2J (ORCPT ); Fri, 4 May 2007 09:28:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755192AbXEDN2J (ORCPT ); Fri, 4 May 2007 09:28:09 -0400 Received: from smtpout.mac.com ([17.250.248.177]:59580 "EHLO smtpout.mac.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755182AbXEDN2I (ORCPT ); Fri, 4 May 2007 09:28:08 -0400 In-Reply-To: <463AE623.60501@dgreaves.com> References: <1177567481.5025.211.camel@nigel.suspend2.net> <1177654110.4737.91.camel@nigel.suspend2.net> <200704272324.43359.rjw@sisk.pl> <1177711666.4737.176.camel@nigel.suspend2.net> <35EFC5BA-D16B-41BE-A641-AEA8CCC9E0BE@mac.com> <20070503151047.GB3866@ucw.cz> <463AE623.60501@dgreaves.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <58479992-BA7D-4CE6-B03A-A1D6B7A7CF4F@mac.com> Cc: Pavel Machek , nigel@nigel.suspend2.net, Linus Torvalds , "Rafael J. Wysocki" , Pekka J Enberg , LKML Content-Transfer-Encoding: 7bit From: Kyle Moffett Subject: Re: Back to the future. Date: Fri, 4 May 2007 09:27:20 -0400 To: David Greaves X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On May 04, 2007, at 03:52:03, David Greaves wrote: > Kyle Moffett wrote: >> On May 03, 2007, at 11:10:47, Pavel Machek wrote: >>> What happens if you try to boot and filesystems are frozen from >>> previous run? >> >> If you're just doing a fresh boot then the filesystem is already >> clean due to the dm freeze and so it mounts up normally. All you >> need to do then is have a little startup script which purges the >> saved image before you fsck or remount things read-write since >> either case means the image is no longer safe to resume. > > Wouldn't it be better if freeze wrote a freeze-ID to the fs and > returned it? This would naturally be kept in the image and a UUID > mismatch would be detectable - seems safer and more flexible than > 'a script'. > > "This isn't the freeze you're looking for, move along" Possibly, but I was referring to the _current_ behavior of the device- mapper freezing. While perhaps not ideal, it's currently very easily usable. Cheers, Kyle Moffett