On Thu, 11 May 2000, Dan Horth wrote:

> Hi - I was just wondering if there was a "low level format" or 
> initialize command / utility I could use to zero a disk. Can anyone 
> tell me what utilities are used by the RH install process to do a 
> format and check for bad blocks?
> 
> basically I have a disk that I know has bad blocks on it and I want 
> to reinitialize it and get the bad blocks masked / ignored / whatever 
> so they're not used.
> 
> tia. dan.
> 
Dan,
        badblocks -w will do a destructive bad block test.  If you add the
-o output_file, it will produce a bad block file you can feed to mke2fs
using the -l option to maps them out.  You can also use the -c option of
mke2fs to do a read only test.

Mikkel

--
    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to