Joshua Baker-LePain wrote:
On Fri, 16 Mar 2007 at 2:41pm, Mark Hull-Richter wrote
What is the best way to accomplish step two of this - reformatting the partition? I've only done this so far during the installation phase, and that was for partitions I knew I could destroy with impunity. I'm guessing I unmount the drive, <do something magic here> and remount it. It's the magic part I don't know.
'man mke2fs' has all the details. I usually do:
mke2fs -b 4096 -j -m 1 -O dir_index $DEVICE
What are the parameters used by the installer to format a partition? I believe it's simply "mke2fs -j $DEVICE" but I may be wrong.