From owner-freebsd-questions@FreeBSD.ORG Sat Mar 19 14:51:16 2005 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 69F0C16A4CE for ; Sat, 19 Mar 2005 14:51:16 +0000 (GMT) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECFBD43D1D for ; Sat, 19 Mar 2005 14:51:15 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from epia2.farid-hajji.net (epia-2 [192.168.254.11]) by fw.farid-hajji.net (Postfix) with ESMTP id 4D04B4AFAE; Sat, 19 Mar 2005 15:51:03 +0100 (CET) Date: Sat, 19 Mar 2005 15:51:46 +0100 From: cpghost@cordula.ws To: Robert Munn Message-ID: <20050319145146.GA21612@epia2.farid-hajji.net> References: <423C36ED.4060207@umd.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <423C36ED.4060207@umd.edu> User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: file system type X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Mar 2005 14:51:16 -0000 On Sat, Mar 19, 2005 at 09:27:57AM -0500, Robert Munn wrote: > Is there any way of detecting the type of file system on a disk, > specifically UFS2 or UFS1? If all you need to know is wether a UFS file system is UFS1 or UFS2, you could use /sbin/dumpfs -cpghost. -- Cordula's Web. http://www.cordula.ws/