From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 21:53:22 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 8673D16A402 for ; Sun, 29 Apr 2007 21:53:22 +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 6671E13C459 for ; Sun, 29 Apr 2007 21:53:22 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 29546 invoked from network); 29 Apr 2007 21:52:06 -0000 Received: from unknown (HELO demeter.hydra) (24.9.123.251) by host222.ipowerweb.com with SMTP; 29 Apr 2007 21:52:06 -0000 Received: from demeter.hydra (localhost [127.0.0.1]) by demeter.hydra (8.13.6/8.13.6) with ESMTP id l3TLrK1Z018780 for ; Sun, 29 Apr 2007 15:53:20 -0600 (MDT) (envelope-from perrin@apotheon.com) Received: (from ren@localhost) by demeter.hydra (8.13.6/8.13.6/Submit) id l3TLrJhO018779 for freebsd-questions@freebsd.org; Sun, 29 Apr 2007 15:53:19 -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 15:53:19 -0600 From: Chad Perrin To: FreeBSD Questions Message-ID: <20070429215319.GA18753@demeter.hydra> Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Subject: 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 21:53:22 -0000 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 -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] print substr("Just another Perl hacker", 0, -2);