Files
oldlinux-files/Minix/2.0.0/wwwman/man1/readall.1.html
2024-02-19 00:21:39 -05:00

74 lines
1.5 KiB
HTML

<HTML>
<HEAD>
<TITLE>readall(1)</TITLE>
</HEAD>
<BODY>
<H1>readall(1)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
readall - read a device quickly to check for bad blocks
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>readall</STRONG> [<STRONG>-bt</STRONG>] <EM>file</EM>
</PRE>
<H2>OPTIONS</H2><PRE>
<STRONG>-b</STRONG> Produce shell script on <EM>stdout</EM> that calls <EM>badblocks</EM>
<STRONG>-t</STRONG> Just print device size
</PRE>
<H2>EXAMPLES</H2><PRE>
<STRONG>readall</STRONG> <STRONG>/dev/hd0</STRONG> # Read all of /<EM>dev</EM>/<EM>hd0</EM>
<STRONG>readall</STRONG> <STRONG>-b</STRONG> <STRONG>/dev/hd1</STRONG> <STRONG>&gt;s</STRONG>
# Generate shell script on <EM>s</EM>
</PRE>
<H2>DESCRIPTION</H2><PRE>
<EM>Readall</EM> reads all of the named device in large chunks. It reports about
blocks that it cannot read. Unlike <EM>diskcheck</EM>, it does not attempt to
write on the disk, making it safer to use when one is worried about a
sick system. When the <STRONG>-b</STRONG> flag is given, the output is a shell script
that calls the <EM>badblocks</EM> program to marked all the bad blocks. Whenever
installing MINIX, it is wise to run <EM>readall</EM> with the <STRONG>-b</STRONG> flag first on all
the hard disks.
</PRE>
<H2>SEE ALSO</H2><PRE>
<STRONG><A HREF="../man8/badblocks.8.html">badblocks(8)</A></STRONG>.
</PRE>
</BODY>
</HTML>