From owner-freebsd-current Mon Feb 27 13:23:29 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA06329 for current-outgoing; Mon, 27 Feb 1995 13:23:29 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id NAA06323 for ; Mon, 27 Feb 1995 13:23:26 -0800 Received: (from phk@localhost) by ref.tfs.com (8.6.8/8.6.6) id NAA26923; Mon, 27 Feb 1995 13:22:22 -0800 From: Poul-Henning Kamp Message-Id: <199502272122.NAA26923@ref.tfs.com> Subject: Re: Disappearing space in root fs. To: bde@zeta.org.au (Bruce Evans) Date: Mon, 27 Feb 1995 13:22:22 -0800 (PST) Cc: current@FreeBSD.org In-Reply-To: <199502272041.HAA18058@godzilla.zeta.org.au> from "Bruce Evans" at Feb 28, 95 07:41:57 am Content-Type: text Content-Length: 1012 Sender: current-owner@FreeBSD.org Precedence: bulk > >Any YP NIS people care to comment ? > > >> > could it be that some process (YP ?) has one of the /etc/*.db files > >> > open while the passwd gets changed ? > >> > (Just guessing here...) > >> ... > >> I seem to lose about 300-400 blocks on / each time I run vipw + passwd. > >> > >> It seems that maybe the temporary file is unlinked but not finally removed. > >> > > >> > What does fsck tell you about the files ? > > fsck tells me that vipw unlinks the previous copies pwd.db and spwd.db. > fstat tells me that nothing normally has these files open before or after! > ktrace tells me that vipw and its descendants aren't doing anything > special to the database files. > > I'm not running YP or non-default encryption. The problem is easy to > duplicate - just run vipw and change something. I see it too. Are you saying that unlink(2) doesn't really work ? -- Poul-Henning Kamp TRW Financial Systems, Inc. I am Pentium Of Borg. Division is Futile. You WILL be approximated.