From owner-freebsd-questions@FreeBSD.ORG Mon Feb 20 22:43:54 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 BA82016A420 for ; Mon, 20 Feb 2006 22:43:54 +0000 (GMT) (envelope-from artifact.one@googlemail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DB0143D46 for ; Mon, 20 Feb 2006 22:43:54 +0000 (GMT) (envelope-from artifact.one@googlemail.com) Received: by xproxy.gmail.com with SMTP id s16so770441wxc for ; Mon, 20 Feb 2006 14:43:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Pg6mXWd0zDes533t5+cgyULoYkeY0YjTC+a8vCAiDNmA1/4q6DfjoeXZsR1aSQMa7bnleZ2VfujyDAsPZ3lkCD2p6EYVuUTBScC/IT1tust1+e/HJT4UwarsUKvvJqCIcEDQxtFYh8VqxhSoUEIvC+qJotAwu8yRD9jOex7397w= Received: by 10.70.80.12 with SMTP id d12mr416137wxb; Mon, 20 Feb 2006 14:43:52 -0800 (PST) Received: by 10.70.24.9 with HTTP; Mon, 20 Feb 2006 14:43:52 -0800 (PST) Message-ID: <8e96a0b90602201443g73339521l82e6d176da2024f9@mail.gmail.com> Date: Mon, 20 Feb 2006 22:43:52 +0000 From: "mal content" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Quick question on newfs 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, 20 Feb 2006 22:43:54 -0000 I was setting up encrypted swap with GELI and accidentally blew away my /tmp partition with: # dd if=3D/dev/random of=3D/dev/ad0s1e bs=3D1m Understandably, it will no longer allow me to mount /tmp, so how do I use newfs to recreate the partition? I want to be absolutely sure before entering any disk modifying commands (just like I was absolutely sure last time...). I'm guessing it's as simple as: # newfs /dev/ad0s1e cheers, a1 (ps: please CC as I'm not on the list)