From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 22:16:42 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A15016A400 for ; Sun, 29 Apr 2007 22:16:42 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 3673213C43E for ; Sun, 29 Apr 2007 22:16:42 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 813DA1A4DAD for ; Sun, 29 Apr 2007 15:17:12 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E474E513DD; Sun, 29 Apr 2007 18:16:39 -0400 (EDT) Date: Sun, 29 Apr 2007 18:16:39 -0400 From: Kris Kennaway To: FreeBSD Questions Message-ID: <20070429221638.GA33593@xor.obsecurity.org> References: <20070429215319.GA18753@demeter.hydra> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070429215319.GA18753@demeter.hydra> User-Agent: Mutt/1.4.2.2i Subject: Re: CLI filesystem format tool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2007 22:16:42 -0000 On Sun, Apr 29, 2007 at 03:53:19PM -0600, Chad Perrin wrote: > Is there a simple command line tool in FreeBSD for creating a filesystem > on an already extant slice? > > I'm working on a system with three main slices -- ad0s1, ad0s2, and > ad0s3. The ad0s2 slice is further split up into the default parts of a > FreeBSD install. The ad0s1 slice is in use by another OS. The ad0s3 > slice has nothing of value on it, and I want to make it a FreeBSD-native > filesystem then mount it at /usr/home. > > I've been hoping to find something akin to the Linux tool mkfs for this > purpose, but so far have come up empty. Isn't there something that > works similarly to that? Example: > > command /dev/ad0s3 fstype newfs Kris