System Administration Guide, Volume 1

How to Preen a File System

  1. Become superuser.

  2. Unmount the file system.

    # umount mount-point
  3. Check a 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 fsck.

Example--Preening a File System

The following example preens the /usr file system.

# fsck -o p /usr