From owner-freebsd-questions@FreeBSD.ORG Tue Aug 30 16:31:00 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7F3D16A41F for ; Tue, 30 Aug 2005 16:31:00 +0000 (GMT) (envelope-from dpkirchner@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 241A843D4C for ; Tue, 30 Aug 2005 16:31:00 +0000 (GMT) (envelope-from dpkirchner@gmail.com) Received: by xproxy.gmail.com with SMTP id i31so800236wxd for ; Tue, 30 Aug 2005 09:30:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iSwR6DAWn66P4q/3fP7enFrG4fQb8tO7ay41ht+wxIXhuFMVB4Msonwr+/Ei6hngpoZdD/KBOT6dl5RsZwa8blKeaqt8cU1yJxOqCKrecKl9XINVaMnPFymuvKRBtV+IrQtOssZzXU1e736rJocMfEj1bJq3qR8JK5krgu+f0CI= Received: by 10.70.90.15 with SMTP id n15mr132303wxb; Tue, 30 Aug 2005 08:36:05 -0700 (PDT) Received: by 10.70.104.20 with HTTP; Tue, 30 Aug 2005 08:36:05 -0700 (PDT) Message-ID: <35c231bf05083008366561532@mail.gmail.com> Date: Tue, 30 Aug 2005 08:36:05 -0700 From: David Kirchner Sender: dpkirchner@gmail.com To: Freminlins In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Cc: FreeBSD Subject: Re: Turning off file flags during restore X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2005 16:31:01 -0000 On 8/30/05, Freminlins wrote: > -rw-r--r-- 1 www www schg 73 Jul 27 22:04 foo.txt >=20 > I understand that some of the attributes on the NetApp may be confusing > restore. I don't really have a problem with that. Is there a way to not s= et > the file flags during restore? I don't really want to chflag a few millio= n > files if I don't have to. Also, of course, changing the flags updates the > file's ctime. There doesn't appear to be a way to avoid this with restore, unfortunately. It performs the chflags() call immediately after setting the file times, without any conditional to avoid it.