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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitted by:  None
Submitted on:  Fri 08 Dec 2006 02:44:41 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Works For Me
Privacy: PublicAssigned to: Sergey Poznyakoff <gray>
Open/Closed: Closed

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

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 18 Dec 2009 07:48:10 PM UTCgrayOpen/ClosedOpen=>Closed
    Sat 09 Dec 2006 02:41:24 PM UTCgrayStatusNone=>Works For Me
      PrivacyPrivate=>Public
      Assigned toNone=>gray

    Back to the top


    Powered by Savane 3.1-cleanup1