cvs commit: src/include/protocols dumprestore.h src/sbin/restore
dirs.c extern.h restore.h tape.c src/sbin/dump dump.h traverse.c
Eric Anderson
anderson at freebsd.org
Mon Feb 26 13:43:16 UTC 2007
On 02/26/07 02:15, Kirk McKusick wrote:
> mckusick 2007-02-26 08:15:56 UTC
>
> FreeBSD src repository
>
> Modified files:
> include/protocols dumprestore.h
> sbin/restore restore.h extern.h dirs.c tape.c
> sbin/dump dump.h traverse.c
> Log:
> 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.
Not to mention this item from the Project Ideas page:
http://www.freebsd.org/projects/ideas/#p-extenddump
Eric
More information about the cvs-src
mailing list