From owner-freebsd-questions Sat Jan 9 02:52:12 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA13777 for freebsd-questions-outgoing; Sat, 9 Jan 1999 02:52:12 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from alice.gba.oz.au (gba-254.tmx.com.au [203.9.155.254]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA13714 for ; Sat, 9 Jan 1999 02:51:57 -0800 (PST) (envelope-from gjb@acm.org) Received: (qmail 9274 invoked by uid 1001); 9 Jan 1999 10:43:05 -0000 Message-ID: <19990109104305.9273.qmail@alice.gba.oz.au> X-Posted-By: GBA-Post 1.03 20-Sep-1998 X-PGP-Fingerprint: 5A91 6942 8CEA 9DAB B95B C249 1CE1 493B 2B5A CE30 Date: Sat, 09 Jan 1999 20:43:04 +1000 From: Greg Black To: "Aaron D. Gifford" Cc: questions@FreeBSD.ORG Subject: Re: Why won\'t TAR cooperate\? References: <199901070249.TAA02192@infowest.com> <19990107190309.446.qmail@alice.gba.oz.au> <3696DB34.29D87B41@infowest.com> In-reply-to: <3696DB34.29D87B41@infowest.com> of Fri, 08 Jan 1999 21:29:40 MST Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Try it with dd to ensure that you can read the file and write > > the whole thing to the tape: > > > > dd if=big_file obs=64k of=/dev/tape_device > > Thanks, dd in fact worked perfectly. I even used tar and piped the > output of tar to dd and that worked: So you know that the tape is big enough and that there's no problem writing a big file to it -- no surprises there. > It still puzzles me that tar when used alone always stopped at the same > spot every time I tried it. I no longer have your original message, but I seem to recall that you used some tar option for comparing the archived file with the original -- if so, that could have been the problem, as it's certainly the kind of thing that you'd expect to have bugs in, given the fact that nobody ever uses it ... > I've used tar just fine on other huge files > saved to HD instead of tape, but try as I might, tar would not write the > large file to my tape. The only supposition I can fathom at this point > is that tar believed that the tape was shorter than it really was. There's no way for tar to believe anything about the size of the tape unless it got a write error -- and since dd got no such error, tar would not have either. > Kevin Street wrote: > >Do the login.conf filesize settings apply to tapes? What does `limits' > >say yours is set to? > > Hmmm, once I 'su' to root (which I did) would this matter? File size limits do not apply to tapes. Limits do apply to root but they're usually different from thos for normal users and, since this was a tape, there are no limits. -- Greg Black To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message