From owner-freebsd-questions Fri Apr 19 14:51: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mauibuilt.com (mauibuilt.com [205.166.249.50]) by hub.freebsd.org (Postfix) with ESMTP id 9ECB737B41C for ; Fri, 19 Apr 2002 14:51:00 -0700 (PDT) Received: (from freebsdq@localhost) by mauibuilt.com (8.11.6/8.11.6) id g3JLos569509 for freebsd-questions@freebsd.org; Fri, 19 Apr 2002 11:50:54 -1000 (HST) (envelope-from freebsdq) From: FreeBSD MAIL Message-Id: <200204192150.g3JLos569509@mauibuilt.com> Subject: Clean Flag To: freebsd-questions@freebsd.org Date: Fri, 19 Apr 2002 11:50:54 -1000 (HST) X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 I was wondering if there is an ez way to check to see if the "clean flag" has been set on a volume before you mount it. I have a server that cant afford much down time in the way of reboots. The os is on a very small partition that fsck can run through quickly should the machine reboot for some reason. However there is a 80 gig ftp volume on the system that takes forever to check. I want to mount the ftp volume and start the ftp server after the system comes up and starts other critical serives. Rather than trying to mount the partition and checking to see if the mount fails because of the clean flag not being set I figured fsck seems to know if the "clean flag" is set there might be a passive way to check that flag before running fsck. Thanks in advance Richard Puga. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message