138
|
1 <refentry id="format">
|
|
2 <refnamediv>
|
|
3 <refname>FORMAT</refname>
|
|
4 <refpurpose>Initialize disk media</refpurpose>
|
|
5 </refnamediv>
|
|
6
|
|
7 <refsynopsisdiv>
|
|
8 <cmdsynopsis>
|
|
9 <command>FORMAT</command>
|
|
10 <arg choice="plain">
|
|
11 &replstart;devname&replend;
|
|
12 </arg>
|
|
13 </cmdsynopsis>
|
|
14 </refsynopsisdiv>
|
|
15
|
|
16 <refsect1><title>Description</title>
|
|
17 <para>
|
|
18 This command is used to physically initialize, verify, and establish
|
|
19 an initial file structure on a disk. All disks must be formatted
|
|
20 before they can be used on an OS-9 system.
|
|
21 </para>
|
|
22 <para>
|
|
23 NOTE: If the diskette is to be used as a system disk, "OS9gen" or
|
|
24 "cobbler" must be run to create the bootstrap after the disk has
|
|
25 been formatted.
|
|
26 </para>
|
|
27 <para>
|
|
28
|
|
29 The formatting process works as follows:
|
|
30 </para>
|
|
31
|
|
32 <orderedlist numeration="arabic">
|
|
33 <listitem>
|
|
34 <para>
|
|
35 The disk surface is physically initialized and sectored.
|
|
36 </para>
|
|
37 </listitem>
|
|
38 <listitem>
|
|
39 <para>
|
|
40 Each sector is read back and verified. If the sector fails to
|
|
41 verify after several attempts, the offending sector is excluded from
|
|
42 the initial free space on the disk. As the verification is
|
|
43 performed, track numbers are displayed on the standard output
|
|
44 device.
|
|
45 </para>
|
|
46 </listitem>
|
|
47 <listitem>
|
|
48 <para>
|
|
49 The disk allocation map, root directory, and identification sector are written
|
|
50 to the first few sectors of track zero. These
|
|
51 sectors <emphasis>cannot</emphasis> be defective.
|
|
52 </para>
|
|
53 </listitem>
|
|
54 </orderedlist>
|
|
55 <para>
|
|
56 FORMAT will prompt for a disk volume name, which can be up to 32
|
|
57 characters long and may include spaces or punctuation. This name
|
|
58 can later be displayed using the FREE command.
|
|
59 </para>
|
|
60 <para>
|
|
61 For more information see: 3.10
|
|
62 </para>
|
|
63 </refsect1>
|
|
64 </refentry>
|
|
65
|