• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

delete a file from tape drive

 
Prashant Karmankar
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64718
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think I still have some old DECtape spools hanging around here somewhere...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic