From owner-freebsd-questions Wed Aug 9 14:15:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from web2.sea.nwserv.com (web2.sea.nwserv.com [216.145.16.2]) by hub.freebsd.org (Postfix) with ESMTP id 8436137BC25 for ; Wed, 9 Aug 2000 14:15:18 -0700 (PDT) (envelope-from dpk@nwserv.com) Received: from localhost (dpk@localhost) by web2.sea.nwserv.com (8.9.3/8.9.2) with ESMTP id OAA21941 for ; Wed, 9 Aug 2000 14:15:17 -0700 (PDT) (envelope-from dpk@nwserv.com) Date: Wed, 9 Aug 2000 14:15:17 -0700 (PDT) From: David Kirchner X-Sender: dpk@web2.sea.nwserv.com To: freebsd-questions@freebsd.org Subject: quotacheck on a live filesystem; safe? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Envelope-To: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I've been reading over source for quotacheck and ufs_quota.c and so far I have not found a reason why running quotacheck on a live filesystem would cause anything but inconsistencies in the quota.user file. Is this an incorrect belief? From what I understand: the quota.user file is used as a storage for quota information between boots and by the various userland quota reporting utilities. The kernel maintains an idea of the quota in memory, and commits it to disk when necessary. If this is correct, then I could expect, at worst, someone's quota to be invalid if the machine crashes while quotacheck is running and their files are being modified? Thanks, David Kirchner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message