bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tar misbehavior? V1.13.19 and V1.13.25


From: Stepan Kasal
Subject: Re: tar misbehavior? V1.13.19 and V1.13.25
Date: Fri, 3 Jan 2003 12:10:11 +0100
User-agent: Mutt/1.2.5.1i

Hello,

On Mon, Dec 30, 2002 at 01:15:49AM -0500, address@hidden wrote:
> In GNU tar, versions V1.13.19 and V1.13.25

thank you for your bug-report.
I think it can be rephrased this way:

: When calling
: 
:   tar --one-file-system -g /files/list -cvf /dev/null
:       --exclude /dev --exclude /afs --exclude /proc / /var
: 
: the file system /var is not processed.

I've found out that the problem is that when tar processes /, it makes
a decision not to backup /var, since it's a different file system,
and even the explicite occurence of /var on the command line is not
able to revert this decision.

There is a workaround: use /var/. instead of /var and it'll be included.

But I've also attepted to create a patch for this bug, relative to
tar-1.13.25.  I'm attaching it to this mail.

Please be caruful and don't use the patch in a production environment
before you (or someone else) test it thoroughly.

If anyone tries this patch, please tell me whether it worked.

Regards,
        Stepan Kasal

Attachment: tar-1.13.25-mountpoint.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]