System Administration Guide: Devices and File Systems

ProcedureHow to Preen a UFS File System

This procedure assumes that the file system is unmounted or inactive.

  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 21–2 Preening a UFS File System

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


# fsck -o p /export/home