From owner-freebsd-current@FreeBSD.ORG Sat Jun 4 14:57:20 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4889E16A41C for ; Sat, 4 Jun 2005 14:57:20 +0000 (GMT) (envelope-from kjelderg@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFF3043D48 for ; Sat, 4 Jun 2005 14:57:19 +0000 (GMT) (envelope-from kjelderg@gmail.com) Received: by rproxy.gmail.com with SMTP id i8so1238863rne for ; Sat, 04 Jun 2005 07:57:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HtCdhq1uyqcgsWyo+sFVdUU9cbtQwKoWgxD1hWPESBHeKsHgispylbyI42T+pUrQ6lNb5DkimgoOhyf9B4S2lFIcB6PUDU8evalv6YI6Yc+PhMk1fDP4oAXXP4Xhm18358NcqYryhKQvQNS0XumEY47ByvEhwXvGrtMwLDTP9Ys= Received: by 10.38.186.20 with SMTP id j20mr1499015rnf; Sat, 04 Jun 2005 07:57:19 -0700 (PDT) Received: by 10.38.101.35 with HTTP; Sat, 4 Jun 2005 07:57:19 -0700 (PDT) Message-ID: Date: Sat, 4 Jun 2005 23:57:19 +0900 From: Eric Kjeldergaard To: Peter Edwards In-Reply-To: <34cb7c84050309022130766a33@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <34cb7c84050309022130766a33@mail.gmail.com> Cc: FreeBSD Current Subject: Re: a relatively major problem with ext2. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eric Kjeldergaard List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jun 2005 14:57:20 -0000 On 3/9/05, Peter Edwards wrote: > On Tue, 8 Mar 2005 20:54:44 -0600, Eric Kjeldergaard > wrote: > > After a bit of discussion on the kde list regarding a problem I've > > been having with kreadconfig (which uses mmap), I've stumbled (largely > > directed by Michael Nottebrock) upon an ext2 bug. Michael wrote and > > posted the following code: > > [snip mmap failures, crash] > Hi Eric, > Can you try the attached patch? Sorry it took me so long to reply. The patch still applies in today's -current. It even seems to fix the problem that was being discussed.=20 The same code that I was running before now works without an hitch.=20 There is still another issue, though. I have some ext2 drives mounted and I can cd and ls and use things like konqueror with them, however things like the following are happening: # mkdir foo # mkdir foo/bar # rm -rf foo rm: foo: No such file or directory # cd foo/ # ls bar # find . . find: ./bar: No such file or directory find: .: No such file or directory # =20 Those are definitely broken behaviour. I hope someone has an answer.=20 Now that I'm all settled in .jp I should be able to test patches or provide information in reasonable amounts of time. Thank you very much, Peter, for your patch! --=20 If I write a signature, my emails will appear more personalised.