Bug 57715 - [patch] tcopy(1) enhancement
Summary: [patch] tcopy(1) enhancement
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 4.8-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-07 20:50 UTC by ob
Modified: 2017-12-31 22:37 UTC (History)
0 users

See Also:


Attachments
file.diff (2.41 KB, patch)
2003-10-07 20:50 UTC, ob
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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