Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2006 14:56:00 -0800
From:      Glenn Dawson <glenn@antimatter.net>
To:        "mal content" <artifact.one@googlemail.com>, freebsd-questions@freebsd.org
Subject:   Re: Quick question on newfs
Message-ID:  <7.0.1.0.2.20060220145340.081c2530@antimatter.net>
In-Reply-To: <8e96a0b90602201443g73339521l82e6d176da2024f9@mail.gmail.co m>
References:  <8e96a0b90602201443g73339521l82e6d176da2024f9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 02:43 PM 2/20/2006, mal content wrote:
>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

That will do it.

-Glenn


>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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7.0.1.0.2.20060220145340.081c2530>