Bug 154501

Summary: '-r' (append) not working correctly with tape drive
Product: Red Hat Enterprise Linux 4 Reporter: Jay Turner <jturner>
Component: tarAssignee: Peter Vrabec <pvrabec>
Status: CLOSED DEFERRED QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: srevivo, tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-11 10:40:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jay Turner 2005-04-12 09:20:50 UTC
Description of problem:
The following behavior has been reported with tar-1.13.25-13.  It works
correctly when using a file instead of the tape drive.

# tar -cvf /dev/nst0 folderA
folderA/
folderA/t1
folderA/t2
# mt -f /dev/nst0 rewind
# tar -tvf /dev/nst0
drwxr-xr-x root/root         0 2005-04-01 15:54:53 folderA/
-rw-r--r-- root/root         7 2005-04-01 15:54:48 folderA/t1
-rw-r--r-- root/root        10 2005-04-01 15:54:55 folderA/t2
# mt -f /dev/nst0 rewind
# tar -rvf /dev/nst0 folderB
folderB/
folderB/t3
folderB/t4
# mt -f /dev/nst0 rewind
# tar -tvf /dev/nst0
drwxr-xr-x root/root         0 2005-04-01 15:54:53 folderA/
-rw-r--r-- root/root         7 2005-04-01 15:54:48 folderA/t1
-rw-r--r-- root/root        10 2005-04-01 15:54:55 folderA/t2
#

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Peter Vrabec 2005-04-26 14:43:08 UTC
What kind of tape do u use? 
Can u reproduce it with another one?