solaris下,一个磁盘包含8个分区,标记为0-7.此信息可以通过format命令,然后选择一个硬盘来看到,例如,在我自己的系统中(solaris 9,ultra 60),显示出来的信息如下:
【程序编程相关:Linux 集群文件系统简介】 【推荐阅读:Win2k、XP和Linux中的管道(1】# format 【扩展信息:switch命令汇总(1)】 searching for disks...doneavailable disk selections:
0. c0t0d0 /pci@1f,4000/scsi@3/sd@0,0 specify disk (enter its number): 0 selecting c0t0d0 [disk formatted] warning: current disk has mounted partitions.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 ! - execute , then return quit format> ppartition menu:
0 - change `0 partition 1 - change `1 partition 2 - change `2 partition ... 下一页