From owner-freebsd-current Mon Feb 27 17:11:50 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id RAA25763 for current-outgoing; Mon, 27 Feb 1995 17:11:50 -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 RAA25751; Mon, 27 Feb 1995 17:11:44 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id MAA23667; Tue, 28 Feb 1995 12:08:50 +1100 Date: Tue, 28 Feb 1995 12:08:50 +1100 From: Bruce Evans Message-Id: <199502280108.MAA23667@godzilla.zeta.org.au> To: bde@zeta.org.au, terry@cs.weber.edu Subject: Re: Disappearing space in root fs. Cc: current@FreeBSD.org, dyson@FreeBSD.org Sender: current-owner@FreeBSD.org Precedence: bulk >> fsck tells me that vipw unlinks the previous copies pwd.db and spwd.db. >> ... >Apparently the cache changes mean that they aren't LRU'ed out. I think there needs to be a vnode_pager_uncache() in rename or in all xxx_rename()s. vp->v_usecount is normally 2 after namei(), one reference for the lookup and one for the object cache (?). The vnode_pager_uncache() call in unlink() normally decreases vp->v_usecount from 2 to 1. Bruce