Bug 154501 - '-r' (append) not working correctly with tape drive
'-r' (append) not working correctly with tape drive
Status: CLOSED DEFERRED
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: tar (Show other bugs)
4.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Vrabec
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-12 05:20 EDT by Jay Turner
Modified: 2015-01-07 19:09 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-05-11 06:40:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jay Turner 2005-04-12 05:20:50 EDT
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 10:43:08 EDT
What kind of tape do u use? 
Can u reproduce it with another one?

Note You need to log in before you can comment on or make changes to this bug.