From owner-freebsd-current Mon Feb 27 12:47:08 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id MAA05325 for current-outgoing; Mon, 27 Feb 1995 12:47:08 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id MAA05319 for ; Mon, 27 Feb 1995 12:47:01 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id HAA18058; Tue, 28 Feb 1995 07:41:57 +1100 Date: Tue, 28 Feb 1995 07:41:57 +1100 From: Bruce Evans Message-Id: <199502272041.HAA18058@godzilla.zeta.org.au> To: current@FreeBSD.org, phk@ref.tfs.com Subject: Re: Disappearing space in root fs. 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. Bruce