format — Partition and Maintain Disks

Synopsis

/usr/sbin/format [-f command-file][-l log-file][-x data-file]
  [-d disk-name][-t disk-type][-p partition-name]
  [-s][-m][-M][-e][disk-list]

Description

Use the format command to prepare hard disk drives for use on a Solaris system. The format command enables you to format, label, repair, and analyze hard disks.

Disk drives are partitioned and labeled as part of the Solaris installation process. You may need to use the format command in the following circumstances.

  • To display slice (partition) information.

  • To divide a disk into slices.

  • To add a disk drive to an existing system.

  • To format a disk drive.

  • To repair a disk drive.

Unlike previous disk maintenance commands, format runs under SunOS. Because of ...

Get Solaris™ 8 System Administrator's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.