From owner-freebsd-questions Tue Mar 19 2:46:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from gurudom.ramax.com (h24-68-240-50.cg.shawcable.net [24.68.240.50]) by hub.freebsd.org (Postfix) with SMTP id 0D68637B402 for ; Tue, 19 Mar 2002 02:46:25 -0800 (PST) Received: (qmail 4965 invoked from network); 19 Mar 2002 10:46:24 -0000 Received: from unknown (HELO bismark.io.sys.ramax.com) (10.0.0.1) by netopia.io.sys with SMTP; 19 Mar 2002 10:46:24 -0000 To: FreeBSD Questions Subject: Re: A quick fsck question References: <22dab8f22de158.22de15822dab8f@mbox.com.au> From: Alex Rodioukov Date: 19 Mar 2002 03:46:24 -0700 In-Reply-To: <22dab8f22de158.22de15822dab8f@mbox.com.au> Message-ID: <873cywu96n.fsf@bismark.io.sys> Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG No, when the filesystem is mounted read-only it is marked as "clean". fsck(8) says that: "In "preen" mode the clean flag of each filesystem's superblock is examined and only those filesystems that are not marked clean are checked. Filesystems are marked clean when they are unmounted, when they have been mounted read-only, or when fsck runs on them successfully." > If I mount a UFS file system as read only (on an IDE HDD) will it still > require an fsck after an unclean shutdown? Regards, Alex. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message