sa239学习笔记( 二 )



Mount Directory
If the field is empty, the slice is currently not

mounted and no entry exists in the /etc/vfstab

file.


可以用prtvtoc 命令把磁盘的VTOC保存到一个文件中:

例如: prtvtoc /dev/rdsk/c1t0d0s2 > /vtoc/c1t0d0

可以把prtvtoc命令的输出内容导入到另外一块硬盘中去:

例如: fmthard -s datafile /dev/rdsk/c #t #d #s2



注意: fmthard 命令不能修改未加label的磁盘,你可以用format来完成fmthard这一要求;

Caution – The fmthard command cannot write a disk label on an
unlabeled disk. Use the format utility for this purpose.

推荐阅读