xfs
[Top] [All Lists]

Re: synchronization of XFS

To: Stefan Smietanowski <stesmi@xxxxxxxxxx>
Subject: Re: synchronization of XFS
From: "IKARASHI, Seiichi" <ikarashi@xxxxxxxxxxxxxxxx>
Date: Fri, 09 Apr 2004 09:42:57 +0900
Cc: Chris Wedgwood <cw@xxxxxxxx>, Steve Lord <lord@xxxxxxx>, Christoph Hellwig <hch@xxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <4075D244.2070905@stesmi.com>
References: <406365DE.2050006@stesmi.com> <4067B496.8060501@miraclelinux.com> <40682301.50508@xfs.org> <4074ABB3.500@stesmi.com> <20040408074826.GA25688@dingdong.cryptoapps.com> <40752DF3.2070109@stesmi.com> <407543A1.7090306@miraclelinux.com> <4075473E.40702@stesmi.com> <20040408182419.GA30488@dingdong.cryptoapps.com> <4075B371.8050705@stesmi.com> <20040408202535.GA31618@dingdong.cryptoapps.com> <4075D244.2070905@stesmi.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
Stefan Smietanowski wrote:

>>> I noticed as much. And guess what - it worked!
>>

Good news!

>>
>> maybe hack the installer to check the fs-type then perhaps and do thr
>> freeze only if it's xfs using the ioctl's rather than calling out to
>> an external program
> 
> 
> Checking the FS type - yes, it involves some hackery pokery but it is
> doable. Right now all it does is check if xfs_freeze is installed and
> calls it twice each for both / and /boot (one freeze and one unfreeze).

Checking the filesystem type can be done in
bootloaderInfo.py of booty as follows:

import fsset
if fsset.isValidXFS(bootDev):
     // execute xfs_freeze -f for bootDev
     // execute xfs_freeze -u for bootDev


-Sei



<Prev in Thread] Current Thread [Next in Thread>