Changed get_mountpoint so only the specific device path is searched for in /etc/mtab. Disks will no longer have the mountpoint of one of its partitions returned.
Before, if input was /dev/sdX (with no mountpoint), however /dev/sdX# had a mountpoint, that mountpoint was returned
Now, only /dev/sdX will only have a mountpoint returned if it is mounted.
Changed get_mountpoint so only the specific device path is searched for in /etc/mtab. Disks will no longer have the mountpoint of one of its partitions returned.
Before, if input was /dev/sdX (with no mountpoint), however /dev/sdX# had a mountpoint, that mountpoint was returned
Now, only /dev/sdX will only have a mountpoint returned if it is mounted.