From owner-freebsd-arch Sun Mar 31 18:48:59 2002 Delivered-To: freebsd-arch@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id D5F8C37B417 for ; Sun, 31 Mar 2002 18:48:45 -0800 (PST) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.6) with SMTP id g312mQw00952; Sun, 31 Mar 2002 21:48:27 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sun, 31 Mar 2002 21:48:26 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Garance A Drosihn Cc: Kirk McKusick , arch@FreeBSD.ORG Subject: Re: UFS snapshots in current In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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