From owner-freebsd-questions@FreeBSD.ORG Wed Jun 11 13:42:42 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0755937B401 for ; Wed, 11 Jun 2003 13:42:42 -0700 (PDT) Received: from ferengi.borderworlds.dk (borderworlds.dk [62.79.110.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1444D43F85 for ; Wed, 11 Jun 2003 13:42:41 -0700 (PDT) (envelope-from xi@borderworlds.dk) Received: from borg.borderworlds.dk (localhost [127.0.0.1]) by ferengi.borderworlds.dk (Postfix) with ESMTP id 85B405C5F for ; Wed, 11 Jun 2003 22:42:38 +0200 (CEST) Received: by borg.borderworlds.dk (Postfix, from userid 500) id 6F3873B8008; Wed, 11 Jun 2003 22:42:37 +0200 (CEST) Sender: xi@borderworlds.dk To: freebsd-questions@freebsd.org References: <1055363235.24174.1492.camel@work.gusalmighty.com> From: Christian Laursen Date: 11 Jun 2003 22:42:37 +0200 In-Reply-To: <1055363235.24174.1492.camel@work.gusalmighty.com> Message-ID: Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Checking the clean bit of a filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 20:42:42 -0000 Justin Hopper writes: > Does anyone know the easiest way, besides running fsck, to check the > clean bit on a filesystem? I need to check if a filesystem is marked > clean and I do not want to call fsck. If there is not a way through > userland commands to check the clean bit, can someone point me in the > general direction of where this bit is set (variable name in some > structure, etc). dumpfs(8) prints a lot of stuff about the specified filesystem, including the clean flag. -- Best regards Christian Laursen