[wplug-bsd] Fdisk? formatting ext2 partitions as ufs
Bill Moran
wmoran at potentialtech.com
Mon Nov 1 14:01:08 EST 2004
Brandon Kuczenski <brandon at 301south.net> wrote:
> On Mon, 1 Nov 2004, Bill Moran wrote:
>
> > Not that I can imagine.
> >
> > Here's what I recommend.
> > 1) Back up your critical data _off_ this computer. You're 100% right that
> > it's pretty catastrophic if you format the wrong partition.
> > 2) umount the partition you want to reformat.
> > 3) Look in /etc/fstab to see what device that partition uses.
> > 4) newfs that device (i.e. newfs /dev/ad0s1a ... or whatever the partition
> > name ends up being.)
> > 5) Alter /etc/fstab to change ext2 to ufs for that partition.
> > 6) Remount and replace your data.
> > 7) Rinse and repeat for the next partition.
> >
>
> So no fdisk - all I need to do is newfs? Ahh, that's lovely.
I don't think so. At the most, you may have to use fdisk to change the
partition type from ext2 to ufs, but newfs may do that for you. I can't
see any need to repartition in any event.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
More information about the wplug-bsd
mailing list