From owner-freebsd-fs@FreeBSD.ORG Sat May 10 15:01:00 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB23437B401; Sat, 10 May 2003 15:01:00 -0700 (PDT) Received: from mailbox.univie.ac.at (mailbox.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E43F43FE5; Sat, 10 May 2003 15:00:59 -0700 (PDT) (envelope-from l.ertl@univie.ac.at) Received: from dialin202.cc.univie.ac.at (dialin202.cc.univie.ac.at [131.130.202.202]) by mailbox.univie.ac.at (8.12.2/8.12.2) with ESMTP id h4AM0hc9063124; Sun, 11 May 2003 00:00:50 +0200 Date: Sun, 11 May 2003 00:00:37 +0200 (CEST) From: Lukas Ertl To: Juli Mallett In-Reply-To: <20030510155318.A40429@FreeBSD.org> Message-ID: <20030510235436.S616@korben.in.tern> References: <20030509223931.A75707@FreeBSD.org> <200305101409.aa30329@salmon.maths.tcd.ie> <20030510155318.A40429@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-DCC-ZID-Univie-Metrics: unet 4261; Body=4 Fuz1=4 Fuz2=4 cc: freebsd-fs@FreeBSD.ORG cc: Ian Dowse cc: Poul-Henning Kamp Subject: Re: newfs: useless/bogus check if new last block can be accessed? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 May 2003 22:01:01 -0000 On Sat, 10 May 2003, Juli Mallett wrote: > * Ian Dowse [ Date: 2003-05-10 ] > > > What is using libufs's bwrite()? Would it be better to just make > > errors fatal for now so that a useful diagnostic can be printed? > > Everything using libufs*. That means every fs tool A quick grep showed badsect, dumpfs, newfs and tunefs use libufs - of course, as you already mentioned, dumpfs doesn't do writes. > except for the growfs and related tools, which I seem to recall rely on > a lot of voodoo. BTW, growfs needs some fixes, too (bin/51138). > clri does in my tree, but I don't know if I ever merged it back in. No, clri ist currently not on the list. > But really you want something like ufserr() from other libufs > consumers, except without lossage of errno (some or all may do > this, I forget). You mean ufserr() as currently in dumpfs? regards, le --=20 Lukas Ertl eMail: l.ertl@univie.ac.at UNIX-Systemadministrator Tel.: (+43 1) 4277-14073 Zentraler Informatikdienst (ZID) Fax.: (+43 1) 4277-9140 der Universit=E4t Wien http://mailbox.univie.ac.at/~le/