Date: Mon, 27 Feb 1995 13:22:22 -0800 (PST) From: Poul-Henning Kamp <phk@ref.tfs.com> To: bde@zeta.org.au (Bruce Evans) Cc: current@FreeBSD.org Subject: Re: Disappearing space in root fs. Message-ID: <199502272122.NAA26923@ref.tfs.com> In-Reply-To: <199502272041.HAA18058@godzilla.zeta.org.au> from "Bruce Evans" at Feb 28, 95 07:41:57 am
next in thread | previous in thread | raw e-mail | index | archive | help
> >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 <phk@login.dknet.dk> TRW Financial Systems, Inc. I am Pentium Of Borg. Division is Futile. You WILL be approximated.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502272122.NAA26923>