From owner-freebsd-hackers Mon Sep 24 17:37:23 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 95E3937B414; Mon, 24 Sep 2001 17:37:17 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id UAA17186; Mon, 24 Sep 2001 20:37:06 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id f8P0ae171341; Mon, 24 Sep 2001 20:36:40 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15279.53656.28808.586330@grasshopper.cs.duke.edu> Date: Mon, 24 Sep 2001 20:36:40 -0400 (EDT) To: kc5vdj@yahoo.com Cc: freebsd-current@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: Change request: move mt(1) to /sbin with -static compile In-Reply-To: <3BAF1A99.9030803@yahoo.com> References: <3BAF1A99.9030803@yahoo.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jim Bryant writes: > After having a recent -current issue requiring a restore from tape, I found that both dump and restore are statically linked and > available in /sbin, as they should be, given their status as recovery tools. > > One unfortunate problem exists with this scenario... > > mt(1) resides in /usr/bin, and on top of that, is linked against shared libraries. > > Since most people do their backups using the norewind device, and preferably on as few tapes as possible, this means that to get to > the next filesystem to restore you must perform a `mt fsf n` where 'n' is the number of filesets to skip on the tape. <..> Err.. Can't you use the -s flag to restore? Eg: -s fileno Read from the specified fileno on a multi-file tape. File num- bering starts at 1. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message