Tag Info

New answers tagged


After the fact, I don't think there's any intrinsic way to find out about past mount and unmount operations. There may be indirect means, for example if the filesystem driver emits a log message. If you want to tell whether a particular directory is a mount point at a given time (I assume that your filesystem is always mounted at the same location), you can ...


Well, you can do it in a bash, if you want so. if ((mount | grep "/mount/point")>/dev/null) then echo "Is mounted"; fi;

Top 50 recent answers are included