[Top] [All Lists]

Re: [TuxOnIce-devel] Latest updates.

To: Martin Steigerwald <Martin@xxxxxxxxxxxx>
Subject: Re: [TuxOnIce-devel] Latest updates.
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Wed, 13 Jan 2010 14:09:14 +1100 (EST)
Cc: TuxOnIce Devel List <tuxonice-devel@xxxxxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <2097834991.1721031263351861134.JavaMail.root@xxxxxxxxxxxxxxxxxx>
----- "Martin Steigerwald" <Martin@xxxxxxxxxxxx> wrote:

> Please keep CC to TuxOnIce devel list.
> Hi!
> Nigel, who develops the alternative TuxOnIce hibernation / snapshot 
> infrastructure, implemented checking last mount time of filesystem as
> a 
> safety feature for Ext 2, 3 and 4.
> He would like this also for XFS. Does XFS record the last mount time 
> somewhere?


> If not, could this be added?

Anythings possible ... its a relatively trivial change, and there's room
in the superblock.  Could probably even be done without a superblock version
bump - if you were prepared to live with the possibility of finding zero in
the ondisk location & dealing with it appropriately (i.e. last mount time

Guess you'd have to convince the XFS folks doing most of the work these
days, but really it'd be quite trivial to implement.  xfs_mount_log_sb()
would be the place to start looking...



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