Format the media.
$ rmformat -F quick device-name |
(Optional) Create an alternate Solaris partition table.
$ rmformat -s slice-file device-name |
A sample slice file looks like the following:
slices: 0 = 0, 30MB, "wm", "home" : 1 = 30MB, 51MB : 2 = 0, 94MB, "wm", "backup" : 6 = 81MB, 13MB |
See the System Administration Guide, Volume 1 for information on creating an alternate Solaris partition table.
Become superuser.
Determine the appropriate file-system type and select one of the following:
The following example formats a diskette and creates a UFS file system.
$ rmformat -F quick /dev/rdiskette Formatting will erase all the data on disk. Do you want to continue? (y/n)y $ su # newfs /dev/rdiskette newfs: construct a new file system /dev/rdiskette: (y/n)? y /dev/rdiskette: 2880 sectors in 80 cylinders of 2 tracks, 18 sectors 1.4MB in 5 cyl groups (16 c/g, 0.28MB/g, 128 i/g) super-block backups (for fsck -F ufs -o b=#) at: 32, 640, 1184, 1792, 2336, # |