System Administration Guide: Basic Administration

How to Preen a UFS File System

  1. Become superuser or assume an equivalent role.

  2. Unmount the UFS file system.


    # umount /mount-point
    
  3. 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.

Example—Preening a UFS File System

The following example shows how to preen the /usr file system.


# fsck -o p /usr