----- "Martin Steigerwald" <Martin@xxxxxxxxxxxx> wrote:
> Please keep CC to TuxOnIce devel list.
> Nigel, who develops the alternative TuxOnIce hibernation / snapshot
> infrastructure, implemented checking last mount time of filesystem as
> safety feature for Ext 2, 3 and 4.
> He would like this also for XFS. Does XFS record the last mount time
> 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...