Re: Quick question on newfs
Thanks a lot for the confirmation, it worked nicely. # newfs /dev/ad0s1e # mount /tmp # chmod 1777 /tmp a1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Quick question on newfs
> > 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 "[EMAIL PROTECTED]" > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Quick question on newfs
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 "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Quick question on newfs
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 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 "[EMAIL PROTECTED]"