I have a simple code to check whether a partition is mounted, i use while loop because sometimes the mount will return partition busy so i have to try few round to unmount i