Figure 1: prtvtoc Output and Edits
* /dev/rdsk/c0t0d0s2 partition map
*
* Dimensions:
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 0 103680 103679 /
1 7 00 103680 2950560 3054239 /var
2 5 00 0 8380800 8380799
3 3 01 3054240 2857680 5911919
5 0 00 5911920 1229040 7140959 /opt
6 4 00 7140960 1239840 8380799 /usr
To format /tmp/boot_disk.vtoc, delete all lines that begin with a * and delete the "Last Sector" and "Mount Directory" columns. After editing, /tmp/boot_disk.vtoc should look like:
0 2 00 0 103680
1 7 00 103680 2950560
2 5 00 0 8380800
3 3 01 3054240 2857680
5 0 00 5911920 1229040
6 4 00 7140960 1239840
|