As always don't forget the "man" pages: - " man df" will give details of the df command. Ditto with format. As KenC says caution on format but to get the feel of the command here is an example of a 2 x disk system where the format command gives a simple listing of the disks and their contents: -
enter: format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t1d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@1,0
1. c0t3d0 <SUN2.1G cyl 2733 alt 2 hd 19 sec 80>
/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@3,0
Specify disk (enter its number): 0 (to view disk 0)
selecting c0t1d0
[disk formatted]
Warning: Current Disk has mounted partitions. (this is OK so ignore)
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format > p (simply enter the letter p for partition)
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
partition> p (again enter p this time to print your partition table)
partition > quit
partition > disk (to view another disk)
partition > 1 (disk 1)
partition > p (partition table)
partition > p (print details of disk 1)
partition > quit then quit again or simply control d to exit