To display the existing volume header and partition table on disk “sd0”:
sgivol sd0
To initialize a new volume header 42 512-byte blocks large on disk “sd0”:
sgivol -i -h 42 sd0
To copy a file
boot from the volume header to local file
/tmp/boot on disk “sd0”:
sgivol -r boot /tmp/boot sd0
To copy a local file
/usr/mdec/ip2xboot to the volume header as
boot on disk “sd0”:
sgivol -w boot /usr/mdec/ip2xboot sd0
To delete the existing file
boot from the volume header on disk “sd0”:
sgivol -d boot sd0
To move (rename) an existing file
file1 to
file2 in the volume header on disk “sd0”:
sgivol -m file1 file2 sd0
To change partition 0 to type 4 (BSD4.2) beginning at block offset 3200 and continue for 28000 blocks on disk “sd0”:
sgivol -p 0 3200 28000 4 sd0