xfs-masters
[Top] [All Lists]

[xfs-masters] [Bug 772] Failure to restore.

To: xfs-master@xxxxxxxxxxx
Subject: [xfs-masters] [Bug 772] Failure to restore.
From: bugzilla-daemon@xxxxxxxxxxx
Date: Wed, 19 Dec 2007 22:23:08 -0800
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=772





------- Additional Comments From tes@xxxxxxx  2007-12-19 22:23 CST -------
So this would be happening in the code:

restore/tree.c
                                /*
                                 * We're the first stream to restore this file.
                                 * Unlink it first to remove extended attributes
                                 * that may have been set since the dump was
                                 * taken.
                                 */
                                if ( ! tranp->t_toconlypr && exists ) {
                                        rval = unlink( path );
                                        if ( rval && errno != ENOENT ) {
                                                mlog( MLOG_NORMAL | 
                                                      MLOG_WARNING, _(
                                                      "unable to unlink "
                                                      "current file prior to "
                                                      "restore: "
                                                      "%s: %s: discarding\n"),
                                                      path,
                                                      strerror( errno ));
                                                continue;
                                        }
                                }

So for simplicity it is trying to delete the file so that
it can easily delete all the EAs on the file.
So it is just running unlink on those paths.

---------
xfsrestore: WARNING: unable to unlink current file prior to restore: src/linux-
2.6.23-gentoo-r3/drivers/isdn/hisax/isdnl3.h: Not a directory: discarding

xfsrestore: WARNING: unable to unlink current file prior to restore: src/linux-
2.6.23-gentoo-r3/drivers/ieee1394/ieee1394_transactions.c: Is a directory: 
discarding
---------
They are rather strange error messages coming back from unlink
which from their names look like regular header and c files.

--Tim

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


<Prev in Thread] Current Thread [Next in Thread>
  • [xfs-masters] [Bug 772] Failure to restore., bugzilla-daemon <=