Unmount the UFS file system.
# umount /mount-point |
Check the UFS file system with the preen option.
# fsck -o p /dev/rdsk/device-name |
You can preen individual file systems by using /mount-point or /dev/rdsk/device-name as arguments to the fsck command.
The following example shows how to preen the /usr file system.
# fsck -o p /usr |