State machine for FATSystem.