code: func getMountRefsByDev(mounter Interface, mountPath string) ([]string, error) {
  	mps, err := mounter.List()
  	if err != nil {
  		return nil, err
  	}
  
  	// Finding the device mounted to mountPath
  	diskDev := ""
  	for i := range mps {
  		if mountPath == mps[i].Path {
  			diskDev = mps[i].Device
  			break
  		}
  	}
  
  	// Find all references to the device.
  	var refs []string
  	for i := range mps {
  		if mps[i].Device == diskDev || mps[i].Device == mountPath {
  			if mps[i].Path != mountPath {
  				refs = append(refs, mps[i].Path)
  			}
  		}
  	}
  	return refs, nil
  }
docs: // getMountRefsByDev finds all references to the device provided
  // by mountPath; returns a list of paths.
  // Note that mountPath should be path after the evaluation of any symblolic links.