bugGNU tar - Bugs: bug #18487, tar 1.16: tarring "/"...

 
 

bug #18487: tar 1.16: tarring "/" with --one-file-system and --listed-incremental

Submitter:  None
Submitted:  Fri 08 Dec 2006 02:44:41 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Works For Me
Privacy:  Public Assigned to:  gray
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 08 Dec 2006 02:44:41 PM UTC, original submission:  

Tarring "/" with options --one-file-system and seems to catalogue "/proc" and "/sys" (on Debian sarge) and will not trespass further into either territory (which is OK and the intended consequence and my primary reason for using "--one-file-system").

However, the attributes of "/proc" and "/sys" seem to get catalogued and saved in the file "XXX" indicated by "--listed-incremental=XXX" when initially created and the corresponding time stamp in this file seems to be garbage at least on my 64bit system (AMD running i686 Debian Sarge, "sizeof(intmax_t)==8").

When an incremental dump is attempted, tar will quit with the fatal error "Unexpected field value in snapshot file" as soon as the garbage time stamp is encountered at the initialization stage. In my case the lengths of the corresponding time stamp strings were 21 characters in the snapshot file (e.g. "18446744072655136680" in one case). These garbage entries correspond to "proc/" and "sys/" which are the only entries referring to these subtress in the snapshot file.

The only way I have found to circumvent the problem is to explicitly exclude "/proc" and "/sys" for every dump from the beginning.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gray (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-12-18 gray Open/ClosedOpen Closed
    2006-12-09 gray StatusNone Works For Me
        PrivacyPrivate Public
        Assigned toNone gray

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code