fsck works like this
(excerpt from the Apple knowledge database)
The fsck utility is run from the command line. This means that you must type a text command at a prompt (#), rather than using the mouse pointer to open an application. Examples of a CLI are the Terminal application and single-user mode. You should start up in single-user mode to use fsck.
How to start up in single-user mode
1. Restart the computer (see Note).
2. Immediately after the startup sound, press and hold both the Command (Apple) and "s" keys on your keyboard. The computer will display a series of text messages, at which time you may release these keys.
When the computer has started up, it will display a command line prompt (#). The computer is now in single-user mode.
Note: If necessary, perform a forced restart as described in the Emergency Troubleshooting Handbook that came with your computer. On desktop computers, this is generally achieved by pressing the reset/interrupt button, which is marked with a triangle. On portable computers, this is generally achieved by pressing the Command-Control-power keys. If a portable computer does not respond to this method, you may need to reset the power manager. See technical document 14449, "PowerBook and iBook: Resetting Power Management Unit (PMU)".
How to Use fsck From the Command Line:
Once you have reached a command line, follow these steps to use fsck:
1. At the prompt, type: fsck -y
2. Press Return.
The fsck utility will go through five "phases" and then return information about the disk's utilization and fragmentation. Once the check is finished, if no issue is found, you should see "** The volume <name of volume> appears to be OK."
If fsck alters, repairs, or fixes anything, it will display the message:
***** FILE SYSTEM WAS MODIFIED *****
Important: If this message appears, repeat the "fsck -y" command until this message no longer appears. It is normal for your computer to require several "passes" of fsck, because first-pass repairs may uncover additional errors.
3. When fsck reports that no problems were found, type: reboot
4. Press Return.
The computer should start up normally and allow you to log in.