From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 00:30:07 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 6A3D216A400 for ; Mon, 30 Apr 2007 00:30:07 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from host222.ipowerweb.com (host222.ipowerweb.com [66.235.210.10]) by mx1.freebsd.org (Postfix) with SMTP id 470BA13C469 for ; Mon, 30 Apr 2007 00:30:06 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 24898 invoked from network); 30 Apr 2007 00:28:50 -0000 Received: from unknown (HELO demeter.hydra) (24.9.123.251) by host222.ipowerweb.com with SMTP; 30 Apr 2007 00:28:50 -0000 Received: from demeter.hydra (localhost [127.0.0.1]) by demeter.hydra (8.13.6/8.13.6) with ESMTP id l3U0U5Mx019321 for ; Sun, 29 Apr 2007 18:30:05 -0600 (MDT) (envelope-from perrin@apotheon.com) Received: (from ren@localhost) by demeter.hydra (8.13.6/8.13.6/Submit) id l3U0U4Rq019320 for freebsd-questions@freebsd.org; Sun, 29 Apr 2007 18:30:04 -0600 (MDT) (envelope-from perrin@apotheon.com) X-Authentication-Warning: demeter.hydra: ren set sender to perrin@apotheon.com using -f Date: Sun, 29 Apr 2007 18:30:04 -0600 From: Chad Perrin To: FreeBSD Questions Message-ID: <20070430003004.GA19298@demeter.hydra> Mail-Followup-To: FreeBSD Questions References: <20070429215319.GA18753@demeter.hydra> <20070429221638.GA33593@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070429221638.GA33593@xor.obsecurity.org> 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: Mon, 30 Apr 2007 00:30:07 -0000 On Sun, Apr 29, 2007 at 06:16:39PM -0400, Kris Kennaway wrote: > 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 Thanks. That's exactly what I needed. It doesn't seem to show up for any of the usual suspect search terms with apropos. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] print substr("Just another Perl hacker", 0, -2);