From nobody Tue Sep 03 10:45:36 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wyj2S61J3z5MmFW; Tue, 03 Sep 2024 10:45:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wyj2S5Y4lz4HDW; Tue, 3 Sep 2024 10:45:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725360336; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=udC0h4KcQ+h6lk7aKZXolx79eRmJ6meNvCjWcYABGYc=; b=PP84qKHO3Vb1xQ19mQGfGPkZngYsVLZPX/Vxi+Xvg0F4LT6WhvXptA9VkcPCJz1Is0FrkI EpO4qvnBTGMMeObhj3PmAei0azZL/v9uFJNR9vBdPDlduwTb/CLYxJaobMDE4CeB+Jb4cE 3TdhTCUBYH1zp5+GRkmf8RK1r+5xuhNLfZbsdYfVL9zZztg+S6XIy92URl1NpV542pjL6i 6oYBKGqsDcTgyzBvUuoCpqnC+3wvOy0Q4JQhsBsYHsYdsQUGaBMxeH3sxy8XZv7jRb0SNm bSKkuLiLjWGTUiH6cM7H7CjU8vIy2nClhtGVk52WILPrQfjS3AQid1hj+/QYsA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725360336; a=rsa-sha256; cv=none; b=hxLdYDp25QgMFdBhiIZIVnh+20rfmh1eIsSUQNUMi9y2X1nC9ifUtZCS81Qjd3QlFbl3FJ 9kY7yn7jU6TZWJikfn9RTNZqNl+Jwp25a5qh9nKCATD0OTrT4+bGgRmn3gqyqpnlMdvJK+ O/jAo9aB6ptE+cnuHRhO/QW6JCHDCE9iRjH2euCas/4Wi8CZlHhZiwUNzJmuUfRscaN+Zt IJayHBQn5gfBSvC3lPe6LOSJIz6xFKhMid7G34I+C+iQFyR40+VJl7rz466fqeYzJ2cqN3 aKnRNMcg2Fifpzp+KVOn0gW6aPro/JASFSpi7Z5kLG2v3SQCcUOeyBtoyRKeVQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725360336; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=udC0h4KcQ+h6lk7aKZXolx79eRmJ6meNvCjWcYABGYc=; b=gReUFOY8/yp9PYMkLQ+6Exkk3NNarMs7Bl7sCB/vLpBRTNtei17VtyblnWunfZLBioTrdB qvcMgeL/UDGARiEyFF+yXPvRV2wBTA31A2Eg/hFukUGjQ+LanlGc16z9/jrAGccKNyCIw3 7iqzOw6kUb6s0bzH51SHJKz/JRj4o/bNjyNFpTSRnbvc9R/v/qy2eLy59nkkMKLmMlB0jo aAV65batswkDPyMTHk+shROQU/DrMqxdsLgzdxn5HExgsJ2iMVHs1LNrrQ733GzuaGGTbq 0C45olUNSJaosEIiYiGDIW+k0O3HYs8g8JXYILePw5yQYsd868kTqHaFJsHBtg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wyj2S58YvzdVV; Tue, 3 Sep 2024 10:45:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 483Ajap1044526; Tue, 3 Sep 2024 10:45:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 483AjagV044523; Tue, 3 Sep 2024 10:45:36 GMT (envelope-from git) Date: Tue, 3 Sep 2024 10:45:36 GMT Message-Id: <202409031045.483AjagV044523@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Poul-Henning Kamp Subject: git: ffaf862df662 - main - Mention that SILI makes tcopy(1) slow on modern tape drives List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: phk X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ffaf862df662d507e8dd2667bffcba91e3745fe6 Auto-Submitted: auto-generated The branch main has been updated by phk: URL: https://cgit.FreeBSD.org/src/commit/?id=ffaf862df662d507e8dd2667bffcba91e3745fe6 commit ffaf862df662d507e8dd2667bffcba91e3745fe6 Author: Poul-Henning Kamp AuthorDate: 2024-09-03 10:44:20 +0000 Commit: Poul-Henning Kamp CommitDate: 2024-09-03 10:44:20 +0000 Mention that SILI makes tcopy(1) slow on modern tape drives --- usr.bin/tcopy/tcopy.1 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/usr.bin/tcopy/tcopy.1 b/usr.bin/tcopy/tcopy.1 index da6a5231a843..f608e0af07e4 100644 --- a/usr.bin/tcopy/tcopy.1 +++ b/usr.bin/tcopy/tcopy.1 @@ -97,6 +97,16 @@ command appeared in .Sh BUGS .Bl -item .It +Modern tape drives may return a SCSI "Incorrect Length Indicator (ILI)" +for reach read with a different block size that what is on the +tape, and that slows things down a lot. +This can be disabled with the +.Xr mt 1 +command: +.Bd -literal -offset indent +$ mt param sili -s 1 +.Ed +.It Writing an image of a tape to a file does not preserve much more than the raw data. Block size(s) and tape EOF marks are lost which would