*BSD News Article 81055


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!www.nntp.primenet.com!nntp.primenet.com!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Tape Backup help
Date: 18 Oct 1996 23:47:50 GMT
Organization: Private BSD site, Dresden
Lines: 24
Message-ID: <5494v6$c8@uriah.heep.sax.de>
References: <53cjo1$9nf@scipio.cyberstore.ca> <53itmk$bi0@yama.mcc.ac.uk>
  <53nuu9$8p4@uriah.heep.sax.de> <540abr$8ju@yama.mcc.ac.uk>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

ip@mcc.ac.uk (Ian Pallfreeman) wrote:

> Incidentally, the "fix" for partitions > 2Gb in FreeBSD is the most cunning
> one I've seen so far. Whoever had that idea: have a virtual beer on me. :-)

This one? (for traverse.c)

revision 1.3
date: 1995/06/24 17:07:21;  author: joerg;  state: Exp;  lines: +4 -2
When using dump/rdump on large filesytems (my case 3 GB), the lseek
claims multiple times to have failed. The problem is a off_t is
converted into a int and checked for a negative. A true lseek check
should be checking if the off_t is equal to -1 for failure.

(Suggested fix from PR #bin/461)

Submitted by:   mark tinguely <tinguely@opus.cs.ndsu.NoDak.edu>

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)