bin/93085: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Mon Feb 26 08:20:14 UTC 2007
The following reply was made to PR bin/93085; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: bin/93085: commit references a PR
Date: Mon, 26 Feb 2007 08:16:07 +0000 (UTC)
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.
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
Revision Changes Path
1.11 +2 -1 src/include/protocols/dumprestore.h
1.28 +0 -2 src/sbin/dump/dump.h
1.38 +166 -18 src/sbin/dump/traverse.c
1.31 +54 -12 src/sbin/restore/dirs.c
1.11 +3 -1 src/sbin/restore/extern.h
1.12 +1 -0 src/sbin/restore/restore.h
1.48 +290 -13 src/sbin/restore/tape.c
_______________________________________________
cvs-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe at freebsd.org"
More information about the freebsd-bugs
mailing list