From: Jiri Konecny jkonecny@redhat.com
System using umount so user could expect we will use the same naming conventions. --- blivet/formats/fs.py | 12 ++++++++++++ 1 file changed, 12 insertions(+)
diff --git a/blivet/formats/fs.py b/blivet/formats/fs.py index 955a613..0e917c0 100644 --- a/blivet/formats/fs.py +++ b/blivet/formats/fs.py @@ -765,6 +765,18 @@ def unmount(self, **kwargs): """ return self.teardown(**kwargs)
+ def umount(self, **kwargs): + """ Unmount this filesystem. + + :param str mountpoint: Optional mountpoint to be unmounted. + :raises: FSError + + If mountpoint isn't passed this will unmount the most recent mountpoint listed + by the system. Override this behavior by passing a specific mountpoint. FSError + will be raised in either case if the path doesn't exist. + """ + return self.unmount(**kwargs) + @property def status(self): if not self.exists: