From owner-freebsd-hackers Mon Sep 24 18:31: 9 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp011.mail.yahoo.com (smtp011.mail.yahoo.com [216.136.173.31]) by hub.freebsd.org (Postfix) with SMTP id 201AA37B406 for ; Mon, 24 Sep 2001 18:31:02 -0700 (PDT) Received: from mkc-65-30-96-67.kc.rr.com (HELO yahoo.com) (65.30.96.67) by smtp.mail.vip.sc5.yahoo.com with SMTP; 25 Sep 2001 01:31:01 -0000 X-Apparently-From: Message-ID: <3BAF36F3.90706@yahoo.com> Date: Mon, 24 Sep 2001 08:36:51 -0500 From: Jim Bryant Reply-To: kc5vdj@yahoo.com User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: Andrew Gallatin Cc: freebsd-current@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: Change request: move mt(1) to /sbin with -static compile References: <3BAF1A99.9030803@yahoo.com> <15279.53656.28808.586330@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Duh! It does help to RTFM... My mistake. Andrew Gallatin wrote: > 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 > > jim -- ET has one helluva sense of humor! He's always anal-probing right-wing schizos! ----------------------------------------------------- POWER TO THE PEOPLE! ----------------------------------------------------- "Religious fundamentalism is the biggest threat to international security that exists today." United Nations Secretary General B.B.Ghali _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message