code: def mounts():
      
      with open('/proc/mounts') as f:
          # [['/mount/point','/dev/path'],[...]]
          system_mounts = [m[1::-1] for m in [l.strip().split()
                                              for l in f.readlines()]]
      return system_mounts
docs: Get a list of all mounted volumes as [[mountpoint,device],[...]]