From owner-freebsd-hackers Fri Mar 24 1:47: 4 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 3D65137BD79; Fri, 24 Mar 2000 01:47:00 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 24 Mar 2000 09:46:58 +0000 (GMT) Date: Fri, 24 Mar 2000 09:46:58 +0000 From: David Malone To: Kris Kennaway Cc: Dan Nelson , Markus Stumpf , freebsd-hackers@FreeBSD.org Subject: Re: 3.4 - large file - seek problems Message-ID: <20000324094658.A76992@walton.maths.tcd.ie> References: <20000323171836.A59166@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from kris@FreeBSD.org on Thu, Mar 23, 2000 at 05:07:40PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Mar 23, 2000 at 05:07:40PM -0800, Kris Kennaway wrote: > On Thu, 23 Mar 2000, Dan Nelson wrote: > > > The tail bug has been reported as PR bin/14786, and it looks like > > there's a patch in there. See if it fixes your problem. As for less, > > you can contact the author and see if he can fix it; it's not a stock > > FreeBSD program. > > This is certainly the path to pursue, although I'm not sure how much luck > it would have. The GNU maintainers typically are focussed mainly on linux, > which I believe does not have support for 64-bit file sizes at the kernel > level (perhaps this has been fixed). I think the patch there is one wrote. However I only patched tail, and not "tail -r". I was waiting for someone to test and review my fix before implementing a similar fix for "tail -r". (For reference, it mmaps the file in chunks instead of the whole thing at one time. It made tail very slightly slower, but probably better to have it working properly.) David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message