How to format a new hard drive?

Clinton MacDonald yellowdog-general@lists.terrasoftsolutions.com
Thu Mar 11 21:10:02 2004


Patrick:

Patrick Smith wrote:
>>> how can I format a hard drive in Yellow Dog Linux? I don't find the 
>>> formattools. Please give me hint.
>>
>> Look up the man pages for "mkfs," "fdisk," and "pdisk." My limited 
>> understanding is that you must first "build the filesystem" (what we 
>> usually think of as formatting the disk) using mkfs, then set up the 
>> individual partitions using pdisk (the version of fdisk that 
>> understands Mac partition tables).
> 
> It's the other way around... first create partitions, then create 
> filesystems. Each filesystem "lives" on one partition.

That's why I shouldn't be allowed to answer these questions! ;-)

Well, I looked it up in my _Running Linux_ book, and it seemed to imply 
the opposite. The man pages, as usual, were highly informative, and of 
no use whatsoever.

Best wishes,
Clint

-- 
Dr. Clinton C. MacDonald | <mailto:clint DOT macdonald AT sbcglobal DOT net>