Commiting changes before formatting hard disk