Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2002 18:38:39 -0800
From:      Alfred Perlstein <bright@mu.org>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        Kirk McKusick <mckusick@beastie.mckusick.com>, arch@FreeBSD.ORG
Subject:   Re: UFS snapshots in current
Message-ID:  <20020401023839.GR93885@elvis.mu.org>
In-Reply-To: <p05101501b8cd700e7c76@[128.113.24.47]>
References:  <200203312214.g2VMEWD07500@beastie.mckusick.com> <p05101501b8cd700e7c76@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
* Garance A Drosihn <drosih@rpi.edu> [020331 18:12] wrote:
> 
> Hmm.  Is there any way for a regular user-land process to tell
> if a given file is a snapshot?  Something in the stat() info,
> or some other way to tell?  I have no urgent need for it, but
> it seems like it would be useful.

This probably isn't exactly what you're looking for, but you could
check the file's ctime against the ctime of the snapshot file.

-- 
-Alfred Perlstein [alfred@freebsd.org]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'
Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020401023839.GR93885>