スーパーユーザーになるか、同等の役割を引き受けます。
format ユーティリティを起動します。
# format |
画面に表示されるリストから、フォーマットするディスクの番号を入力します。
Specify disk (enter its number): 0 |
システムディスクは選択しないでください。システムディスクをフォーマットすると、オペレーティングシステムや、システムディスク上のデータがすべて削除されます。
ディスクのフォーマットを開始するには、format> プロンプトで format と入力します。y と入力してコマンドを確認します。
format> format Ready to format. Formatting cannot be interrupted and takes 26 minutes (estimated). Continue? y |
フォーマットが正常に行われたことを、次のメッセージによって確認します。
Beginning format. The current time Tue ABC xx xx:xx:xx xxxx
Formatting...
done
Verifying media...
pass 0 - pattern = 0xc6dec6de
2035/12/18
pass 1 - pattern = 0x6db6db6d
2035/12/18
Total of 0 defective blocks repaired.
|
次の例は、ディスク c0t3d0 のフォーマット方法を示します。
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t1d0 <SUN1.05 cyl 2036 alt 2 hd 14 sec 72>
/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@1,0
1. c0t3d0 <SUN1.05 cyl 2036 alt 2 hd 14 sec 72>
/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@3,0
Specify disk (enter its number):1
Selecting c0t3d0
[disk formatted]
format> format
Ready to format. Formatting cannot be interrupted
and takes 23 minutes (estimated). Continue? yes
Beginning format. The current time is Thu Dec 6 09:54:40 2001
Formatting ...
done
Verifying media...
pass 0 - pattern = 0xc6dec6de
2035/12/18
pass 1 - pattern = 0x6db6db6d
2035/12/18
Total of 0 defective blocks repaired.
format>
|