JAVA/Sun Exam Questions

Which command displays the list of alternate superblocks for a UFS file system on c0t0d0s0?

Which command displays the list of alternate superblocks for a UFS file system on c0t0d0s0?

A.
fsck /dev/rdsk/c0t0d0s0

B.
format /dev/dsk/c0t0d0s0

C.
prtvtoc /dev/dsk/c0t0d0s0

D.
newfs N /dev/rdsk/c0t0d0s0

Explanation:

fsck is used if the file system has become inconsistent. The format command is used for formatting disks and creating VTOC’s. The prtvtoc command prints the vtoc for a disk.