From owner-freebsd-bugs@FreeBSD.ORG Mon Feb 26 08:20:13 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EACE916A401 for ; Mon, 26 Feb 2007 08:20:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 946D213C478 for ; Mon, 26 Feb 2007 08:20:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1Q8KDXE092989 for ; Mon, 26 Feb 2007 08:20:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1Q8KDWD092985; Mon, 26 Feb 2007 08:20:13 GMT (envelope-from gnats) Date: Mon, 26 Feb 2007 08:20:13 GMT Message-Id: <200702260820.l1Q8KDWD092985@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: bin/93085: commit references a PR X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 08:20:14 -0000 The following reply was made to PR bin/93085; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@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: and . 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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"