JAVA/Sun Exam Questions

Which command should you use to achieve this?

You inherited a large number of disks from another department and installed them in your server. You want to prepare them for use on your system by removing partition information, but not clear the VTOC. You decide to write a script to automate the task.

Which command should you use to achieve this?

A.
format <device>

B.
prtvtoc /dev/rdsk/<device>s2

C.
fmthard -s /dev/null /dev/rdsk/<device>s2

D.
dd if=/dev/zero of=/dev/rdsk/<device>s2 bs=512 count=1