From owner-freebsd-arch Sun Mar 31 18:38:42 2002 Delivered-To: freebsd-arch@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 3083837B405 for ; Sun, 31 Mar 2002 18:38:40 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 0BB1AAE027; Sun, 31 Mar 2002 18:38:40 -0800 (PST) Date: Sun, 31 Mar 2002 18:38:39 -0800 From: Alfred Perlstein To: Garance A Drosihn Cc: Kirk McKusick , arch@FreeBSD.ORG Subject: Re: UFS snapshots in current Message-ID: <20020401023839.GR93885@elvis.mu.org> References: <200203312214.g2VMEWD07500@beastie.mckusick.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i 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 * Garance A Drosihn [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