The formation of a permanent dust mantle and its effect on cometary activity