Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Aug 2010 01:59:50 +0400
From:      Anonymous <swell.k@gmail.com>
To:        Roland Smith <rsmith@xs4all.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: chflags(1) unaware utilties
Message-ID:  <86wrryt9gp.fsf@gmail.com>
In-Reply-To: <20100810213211.GA61196@slackbox.erewhon.net> (Roland Smith's message of "Tue, 10 Aug 2010 23:32:11 %2B0200")
References:  <20100809180022.GA33596@freebsd.org> <AANLkTim6rgxQ_FCeOt%2BFnjmqbDLsd1=vC5za74RwhtgB@mail.gmail.com> <20100810213211.GA61196@slackbox.erewhon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Roland Smith <rsmith@xs4all.nl> writes:

> On Tue, Aug 10, 2010 at 05:22:47PM -0400, illoai@gmail.com wrote:
>> On 9 August 2010 14:00, Alexander Best <arundel@freebsd.org> 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?
> <snip>
>> > 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86wrryt9gp.fsf>