freebsd-skq/sbin/dump
mckusick 01ee9020b3 Update the dump program to save extended attributes. Update
the restore program to restore all dumped extended attributes.

If the restore is running as root, it will always be able
to restore all extended attributes. If it is not running
as root, it makes a best effort to set them. Using the -v
command line flag or the `verbose' command in interactive
mode will display all the extended attributes being set on
files (and at the end on directories) that are being restored.
It will note any extended attributes that could not be set.

The extended attributes are placed on the dump image immediately
following each file's data. Older versions of restore can work
with the newer dump images. Old versions of restore will
correctly restore the file data and then (silently) skip
over the extended attribute data and proceed to the next file.

This resolves PR 93085 which will be closed once the code
has been MFC'ed.

Note that this code will not compile until these header
files have been updated: <protocols/dumprestore.h> and
<sys/extattr.h>.

PR:		bin/93085
Comments from:	Poul-Henning Kamp and Robert Watson
MFC after:	3 weeks
2007-02-26 08:15:56 +00:00
..
cache.c
dump.8 Markup fixes. 2006-09-18 11:55:10 +00:00
dump.h Update the dump program to save extended attributes. Update 2007-02-26 08:15:56 +00:00
dumprmt.c Fixed unformatting of copyright clause 4 in previous commit. 2004-04-10 02:22:35 +00:00
itime.c o Do not dump core in -W if dumpdates was not readable and ddatev == NULL. 2004-12-02 13:56:53 +00:00
main.c Make "dump /filesystem" (without options) work. 2006-10-12 20:22:31 +00:00
Makefile
optr.c Eliminate a pair of unneeded parentheses slipped in from previous version of 2006-08-06 14:23:50 +00:00
pathnames.h Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
tape.c Use a signal-safe type for two variables that are used to synchronise 2005-03-02 02:30:08 +00:00
traverse.c Update the dump program to save extended attributes. Update 2007-02-26 08:15:56 +00:00
unctime.c Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00