On Wed, Aug 11, 2010 at 01:59:50AM +0400, Anonymous wrote:
> >> 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? 

The point I was trying to make is that the way to make the most accurate
backup is to use the tools native to the filesystem.

To the best of my knowledge, only UFS and ZFS actually supports the flags used
by chflags(2), and since I don't use ZFS, I used UFS as my example, which
means dump/restore.

For ZFS you could use 'zfs send' on a snapshot.

> 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.

Since bsdtar is based on libarchive, it has restrictions depending on the type 
of
format you use. See libarchive-formats(5).

If you are sure that your filesystem is not using any features that cannot be
stored in the libarchive format of your choosing, then by all means, go ahead.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Attachment: pgpStmKHpeKqO.pgp
Description: PGP signature

Reply via email to