This is sketchy - multiple devices could be mounted on the same path (not sure what /proc/mounts will do) and you're incrementing a refcount.  I'd much rather see this factored as  ``` mps := mounter.List() dev := GetDeviceAtPath(mps, path) refcount := GetDeviceRefCount(mps, dev) ```  In particular, process /proc/mounts is somewhat expensive - doing it once is much better than doing it repeatedly. 