bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] tar: --one-file-system and --listed-incremental interaction


From: Kieran Clancy
Subject: [Bug-tar] tar: --one-file-system and --listed-incremental interaction
Date: Sat, 13 Nov 2010 13:04:30 +1030

Hi,

I'm having issues with GNU tar's handling of one-file-system.

It's similar but not quite the same bug as reported last year at:
http://www.mail-archive.com/address@hidden/msg02141.html

I just compiled the latest stable release (1.25) and this is the test
I am doing:

(in a clean directory)
$ mkdir a
$ echo test > a/b
$ tar -cvf test.tar --one-file-system -g test.info a
a/

Notice that it only adds the folder 'a' to the archive, but not the file 'a/b'.

It's as though it's treating the files below 'a' as a separate file
system or something?

More concerning is that no errors are reported here; it just silently
fails to archive the files in 'a'.

>From the documentation on --one-file-system:
"If this option is used in conjunction with ‘--verbose’ (‘-v’), files
that are excluded are mentioned by name on the standard error. "

So even though 'a/b' was excluded, nothing was mentioned.

I appreciate you looking into this.

Best regards,
Kieran Clancy.



reply via email to

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