Received: with ECARTIS (v1.0.0; list linux-xfs); Fri, 09 Apr 2004 08:52:06 -0700 (PDT) Received: from omx1.americas.sgi.com (cfcafw.sgi.com [198.149.23.1]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i39FpuKO011659 for ; Fri, 9 Apr 2004 08:51:56 -0700 Received: from flecktone.americas.sgi.com (flecktone.americas.sgi.com [192.48.203.135]) by omx1.americas.sgi.com (8.12.10/8.12.9/linux-outbound_gateway-1.1) with ESMTP id i39FpoVC005191 for ; Fri, 9 Apr 2004 10:51:50 -0500 Received: from poppy-e236.americas.sgi.com (poppy-e236.americas.sgi.com [128.162.236.207]) by flecktone.americas.sgi.com (8.12.9/8.12.10/SGI_generic_relay-1.2) with ESMTP id i39FpoKe36723457; Fri, 9 Apr 2004 10:51:50 -0500 (CDT) Received: from stout.americas.sgi.com (stout.americas.sgi.com [128.162.232.50]) by poppy-e236.americas.sgi.com (8.12.9/SGI-server-1.8) with ESMTP id i39FpmEr4822767; Fri, 9 Apr 2004 10:51:49 -0500 (CDT) Date: Fri, 9 Apr 2004 10:51:48 -0500 (CDT) From: Eric Sandeen X-X-Sender: sandeen@stout.americas.sgi.com To: Stefan Smietanowski cc: "IKARASHI, Seiichi" , Chris Wedgwood , Steve Lord , Christoph Hellwig , Subject: Re: synchronization of XFS In-Reply-To: <4075FACC.3010105@stesmi.com> Message-ID: MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-archive-position: 2781 X-ecartis-version: Ecartis v1.0.0 Sender: linux-xfs-bounce@oss.sgi.com Errors-to: linux-xfs-bounce@oss.sgi.com X-original-sender: sandeen@sgi.com Precedence: bulk X-list: linux-xfs Content-Length: 1076 Lines: 34 On Fri, 9 Apr 2004, Stefan Smietanowski wrote: > > import fsset > > if fsset.isValidXFS(bootDev): > > // execute xfs_freeze -f for bootDev > > // execute xfs_freeze -u for bootDev > > Excellent. I take it "if fsset.isValidXFS(bootDev)" is code and not > pseudo-code. Correct - that reads the first few bytes and looks for the xfs magic number. > I'll have to try that. I know the "execute xfs_freeze..." > is pseudo-code. > > Hmmm. Wait, I just thought of something actually. > > Regardless of if I have that if there or not I only need to do > xfs_freese -[fu] /boot actually since it just dawned on me what Chris W > said. Doing xfs_freeze -f /boot will freeze the partition where /boot > is located if /boot is a dir on /. Yep, was going to suggest that. > I'll try that if you wrote there and get back to you tomorrow. > Right now it's pretty late .. 0320. ouch... Yup, definately tomorrow. Great, thanks for doing all the work on this. Perhaps when you get it tidied up you can add this info to the Red Hat bugzilla bug tracking this problem? -Eric