A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Linux / UNIX
delete a file from tape drive
Joined: Jul 10, 2008
Jul 22, 2008 09:13:00
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
Joined: Aug 11, 2007
Jul 22, 2008 13:02:00
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
Author and ninkuma
Joined: Jan 10, 2002
Jul 22, 2008 13:11:00
I think I still have some old DECtape spools hanging around here somewhere...
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: delete a file from tape drive
Self Deleting an application
Deleting a row in Jtable as well as from the .txt database
Directory/File comparison tool using Java.
Write to a tape drive on Solaris 8?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015