Home > Commands A-M > Commands F

FSUTIL DIRTY


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Queries to see whether a volume's dirty bit is set. Sets a volume's dirty bit. When a volume's dirty bit is set, autochk automatically checks the volume for errors the next time the computer is restarted.


Syntax

FSUTIL DIRTY help

FSUTIL DIRTY query drive

FSUTIL DIRTY set drive


Parameters
drive (NTXP)
Specifies the drive letter (followed by a colon), mount point, or volume name.
help (NTXP)
Display help.
query (NTXP)
Queries the dirty bit.
set (NTXP)
Sets a volume's dirty bit.

Switches

none.


Related

FSUTIL BEHAVIOR
FSUTIL FILE
FSUTIL FSINFO
FSUTIL HARDLINK
FSUTIL OBJECTID
FSUTIL QUOTA
FSUTIL REPARSEPOINT
FSUTIL SPARSE
FSUTIL USN
FSUTIL VOLUME


Notes

If a volume's dirty bit is set, this indicates that the file system may be in an inconsistent state. The dirty bit can be set because the volume is online and has outstanding changes, because changes were made to the volume and the computer shutdown before the changes were committed to disk, or because corruption was detected on the volume. If the dirty bit is set when the computer restarts, chkdsk runs to verify the consistency of the volume.

Every time Windows XP starts, Autochk is called by the Kernel to scan all volumes to check if the volume dirty bit is set. If the dirty bit is set, autochk performs an immediate chkdsk /f on that volume. Chkdsk /f verifies file system integrity and attempts to fix any problems with the volume.


Examples

none.


Errorlevels

none.


Availability
External
DOS
none
Windows
none
Windows NT
NTXP NT2003