File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes delete a file from tape drive Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "delete a file from tape drive" Watch "delete a file from tape drive" New topic
Author

delete a file from tape drive

Prashant Karmankar
Greenhorn

Joined: Jul 10, 2008
Posts: 24
Hi,

How do I delete single file from a tape drive?
mt -f /dev/st0 erase command will erase entire tape, i only want to delete single file from tape drive.

Thanks And Regards

Prashant K
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

depends on the tape systems design. in the 1960s, DECtapes were random access devices, or at least they pretended to be, so you could delete or insert in the middle.

I haven't see a tape drive in 20 years that did it. DAT, etc. don't do it.

Why would you need it?

And why are you using Tape? Most folks do backups to another hard drive, or a thumb drive if its small
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61766
    
  67

I think I still have some old DECtape spools hanging around here somewhere...


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: delete a file from tape drive