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

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

gnu tar dumps all directories in incremental mode


From: Michael Grant
Subject: gnu tar dumps all directories in incremental mode
Date: Mon, 29 Oct 2001 20:30:51 GMT

% tar --version
GNU tar version 1.11.2

This is the version of gnu tar that I have on freebsd 4.4.

It seems like a bug to me that when I do an incremental dump using
either --listed-incremental or --newer-mtime "1 day ago", tar dumps
directories which have nothing in them which have been modified.

For example:

% ls -R t
a       b       q/      s/

t/q:

t/s:
a
% touch t/s/a
% tar -cg t.date -f t.tar t
% tar -tvf t.tar
drwxr-xr-x mgrant/mgrant    13 Oct 29 15:16 2001 t/
drwxr-xr-x mgrant/mgrant     1 Oct 29 15:16 2001 t/q/
drwxr-xr-x mgrant/mgrant     4 Oct 29 15:16 2001 t/s/
-rw-r--r-- mgrant/mgrant     0 Oct 29 15:24 2001 t/s/a

Why did it dump t/q?

It's not so tragic in this situation, but when you do an incremental
on a hugh filesystem, the tar file is hugh when nearly nothing was
modified. 

-mgrant




reply via email to

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