Script to label a disk

Hi Guys,

Do you have any script to label a disk automatically.

It is part of my script but I am not able to find solution to label this inside script without user intervention.

Man Page for fmthard (all Section 1m) - The UNIX and Linux Forums

Thanks. fmthard is an alternative.