Quick question on newfs
glenn at antimatter.net
Mon Feb 20 14:56:26 PST 2006
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.
>(ps: please CC as I'm not on the list)
>freebsd-questions at freebsd.org mailing list
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions