Separated format from the mount into separate functions.