From owner-freebsd-questions@FreeBSD.ORG  Mon Feb 20 22:56:34 2006
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
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 A51E916A420
	for <freebsd-questions@freebsd.org>;
	Mon, 20 Feb 2006 22:56:34 +0000 (GMT)
	(envelope-from jerrymc@clunix.cl.msu.edu)
Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4B6C143D46
	for <freebsd-questions@freebsd.org>;
	Mon, 20 Feb 2006 22:56:34 +0000 (GMT)
	(envelope-from jerrymc@clunix.cl.msu.edu)
Received: from clunix.cl.msu.edu (localhost [127.0.0.1])
	by clunix.cl.msu.edu (8.12.10+Sun/8.12.2) with ESMTP id k1KMuXiU025285; 
	Mon, 20 Feb 2006 17:56:33 -0500 (EST)
Received: (from jerrymc@localhost)
	by clunix.cl.msu.edu (8.12.10+Sun/8.12.2/Submit) id k1KMuXN6025284;
	Mon, 20 Feb 2006 17:56:33 -0500 (EST)
From: Jerry McAllister <jerrymc@clunix.cl.msu.edu>
Message-Id: <200602202256.k1KMuXN6025284@clunix.cl.msu.edu>
To: artifact.one@googlemail.com (mal content)
Date: Mon, 20 Feb 2006 17:56:33 -0500 (EST)
In-Reply-To: <8e96a0b90602201443g73339521l82e6d176da2024f9@mail.gmail.com>
X-Mailer: ELM [version 2.5 PL7]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: freebsd-questions@freebsd.org
Subject: Re: Quick question on newfs
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Feb 2006 22:56:34 -0000

> 
> I was setting up encrypted swap with GELI and accidentally
> blew away my /tmp partition with:
> 
> # dd if=/dev/random of=/dev/ad0s1e bs=1m
> 
> 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

Yup.   For /tmp, I would just take the defaults.  They
are quite reasonable there.    In fact, unless you have an
unusually large partition or one with an unusually large number
of files (thus a need for extra inodes), generally the defaults
work well with most partitions.

////jerry

> 
> cheers,
> a1
> 
> (ps: please CC as I'm not on the list)
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 
>