From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 22:00:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 375E41065676 for ; Tue, 10 Aug 2010 22:00:04 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id AB83F8FC08 for ; Tue, 10 Aug 2010 22:00:03 +0000 (UTC) Received: by bwz9 with SMTP id 9so2873347bwz.13 for ; Tue, 10 Aug 2010 15:00:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=849dsSxQ7BhaNCZTa1WpPLKHxZ/J3nLA3pYaBDB8AII=; b=sRoi9gf2ADWSD58A3c4l0BCW26jYqPbUzht3zFQ3kHxDBeneorNqWJL0n72vO3xIrx BP5cqKxbHR7a4JHDO70MiEAy2w2sHmrXCoB1p0cqXr3DlRgNC8fhx5N654zXuphJzVmU LJjeYE03CraZiuThS8amREd3YWYt4VWFA4Xmo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=luScyPXGxPc+dkfyNRXk8uEFYa0z6yVaEFH4X5O9FXjkb/xxCzJdNNquAwcEcyVNLI iy0NC394kmCh6nO17m0wfIKRlmDEt/iB2MjgCN1tvb9xCUS3E34vALOLRjc+SGPU7te8 w1+kLbwaRJMuEU6qBMq3azgHSWFROL5H4Rtp0= Received: by 10.204.203.9 with SMTP id fg9mr576167bkb.56.1281477602404; Tue, 10 Aug 2010 15:00:02 -0700 (PDT) Received: from localhost (spftor1.privacyfoundation.de [87.118.104.203]) by mx.google.com with ESMTPS id bq20sm4563375bkb.4.2010.08.10.14.59.59 (version=SSLv3 cipher=RC4-MD5); Tue, 10 Aug 2010 15:00:01 -0700 (PDT) From: Anonymous To: Roland Smith References: <20100809180022.GA33596@freebsd.org> <20100810213211.GA61196@slackbox.erewhon.net> Date: Wed, 11 Aug 2010 01:59:50 +0400 In-Reply-To: <20100810213211.GA61196@slackbox.erewhon.net> (Roland Smith's message of "Tue, 10 Aug 2010 23:32:11 +0200") Message-ID: <86wrryt9gp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: chflags(1) unaware utilties 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, 10 Aug 2010 22:00:04 -0000 Roland Smith writes: > On Tue, Aug 10, 2010 at 05:22:47PM -0400, illoai@gmail.com wrote: >> On 9 August 2010 14:00, Alexander Best wrote: >> > hi there, >> > >> > chflags(1) mentions that a few utilities including pax(1) aren't chflags >> > aware yet. is there a list of all those utilties available somewhere? > >> > in fact the pax(1) manual states that `pax -p e` will "preserve >> > everything". this is plain wrong! >> >> AFIK, pax is a POSIX thing, and as such working >> correctly or sanely would violate its posix nature. >> (POSIX is an anagram of "Pox? Si!") >> >> Is cpio chflags-aware? > > To the best of my knowledge the _only_ way to be sure you have backed up _all_ > possible features (flags, extended attributes &c) of a UFS filesystem is to > use dump(8) & restore(8). Since when did the thread switch to UFS-specific tools? Unless I'm missing smth dump(8)/restore(8) don't work on ZFS. You can use bsdtar(1) in order to save/restore chflags, ACLs and extattrs in a FS-agnostic way.