Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2002 21:48:26 -0500 (EST)
From:      Robert Watson <rwatson@FreeBSD.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:  <Pine.NEB.3.96L.1020331214715.73912i-100000@fledge.watson.org>
In-Reply-To: <p05101501b8cd700e7c76@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sun, 31 Mar 2002, Garance A Drosihn 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. 

Look for the SF_SNAPSHOT flag.  I don't recall if this is exported via the
flags field via stat(), but it may well be.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Project
robert@fledge.watson.org      NAI Labs, Safeport Network Services



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?Pine.NEB.3.96L.1020331214715.73912i-100000>