Bug 57715

Summary: [patch] tcopy(1) enhancement
Product: Base System Reporter: ob <ob>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.8-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description ob 2003-10-07 20:50:07 UTC
tcopy can be used to copy tape's from streamer to streamer.
This modification enable you to copy from a tape to disk, with
information of blocksizes:

	tcopy /dev/nsa0 .

This produces files like:

	file-000.32768
	file-001.32768
	file-002.32768
	file-003.32768
	file-004.32768
	file-005.32768
	file-006.32768
	file-007.32768
 
In this case is '.32768' the used blocksize on this tape.

You can copy each file with dd to a other tape:

	dd if=file-000.32768 obs=64k conv=osync of=/dev/nsa0

This modification is helpful for recompilation of tapes and
changing the blocksizes.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:43 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped