READ_TAPE(8)
๐พ READ_TAPE(8) โ the read_tape glow-up โจ
okay bestie, welcome to the AFS Command Reference ๐ this one is read_tape, and she's lowkey a legend because she works completely solo. no server, no client, just vibes and a tape drive ๐
๐ธ NAME ๐ธ
read_tape โ reads volume dumps from a backup tape to a file ๐ฆ
โจ SYNOPSIS โจ
read_tape -tape <tape device>
-restore <# of volumes to restore>
-skip <# of volumes to skip>
-file <filename> [-scan] [-noask] [-label]
[-vheaders] [-verbose] [-help]
๐ DESCRIPTION ๐
so here's the tea โ: read_tape reads an OpenAFS backup tape and prompts you for each dump file to save. that's it, that's the whole job, and she does it flawlessly ๐ซถ
the iconic part? this command does not require any OpenAFS infrastructure. like, none. she doesn't need an OpenAFS client or server to be available โ which is literally not the case with the backup(8) command. so when everything else is down and you're stress-crying at 3am, read_tape is the friend who shows up with snacks ๐ญ๐ฅ
the dump files will be named for the Read/Write name of the volume restored. after saving each dump file, you can use vos restore or restorevol to restore the volume into AFS space and non-AFS space respectively ๐
and here's how the tape-reading choreography goes: read_tape reads the tape while skipping the specified number of volumes, and after that, it restores the specified number of volumes. also she doesn't rewind the tape, so you can run her multiple times in succession. queen behavior, honestly ๐
๐ OPTIONS ๐
-tape<tape device>โ specifies the tape device from which to restore ๐-restore<# of volumes to restore>โ specifies the number of volumes to restore from tape โจ-skip<# of volumes to skip>โ specifies the number of volumes to skip before starting the restore ๐ธ-file<filename>โ specifies an alternate name for the restored volume dump file rather than the default of the volume name ๐ฆ-scanโ scans the tape ๐-noaskโ doesn't prompt for each volume ๐-labelโ displays the full dump label ๐ท๏ธ-vheadersโ displays the full volume headers ๐-verboseโ produces on the standard output stream a detailed trace of the command's execution. if this argument is omitted, only warnings and error messages appear ๐-helpโ prints the online help for this command. all other valid options are ignored ๐ซถ
๐ EXAMPLES ๐
the following command will read the third through fifth volumes from the tape device /dev/tape without prompting:
% read_tape -tape /dev/tape -skip 2 -restore 3 -noask
see how -skip 2 + -restore 3 = volumes 3, 4, and 5? math is math, bestie ๐งฎโจ
๐ PRIVILEGE REQUIRED ๐
the issuer must have access to read and write to the specified tape device. no tape permissions, no tape magic, periodt ๐
๐ฆ SEE ALSO ๐ฆ
๐ COPYRIGHT ๐
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
this documentation is covered by the BSD License as written in the doc/LICENSE file. this man page was written by Jason Edgecombe for OpenAFS.
and that's the whole page, bestie!! ๐ this beauty ships with OpenAFS and the version/date stamp on her is 2026-07-27 โ go read some tapes, you absolute icon ๐โจ
๐ฆ where this page comes from
- ubuntu stonking: openafs-dbserver 1.8.16.1-1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms