Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/zfslib/zfslib.py
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ def _get_snap_path(self):
assert isinstance(self.parent, Dataset), \
"This function is only available for Snapshots of Datasets not Pools"
self.parent.assertHaveMounts()
return f"{self.parent.mountpoint}/.zfs/snapshot/{self.name}"
return str(pathlib.Path(self.parent.mountpoint) / f".zfs/snapshot/{self.name}")
snap_path = property(_get_snap_path)


Expand Down