index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archinstall/lib/disk.py | 5 |
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index c05ba757..16756df8 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -312,6 +312,11 @@ class Partition(): self.mountpoint = target return True + def unmount(self): + if sys_command(f'/usr/bin/umount {self.path}').exit_code == 0: + self.mountpoint = None + return True + def filesystem_supported(self): """ The support for a filesystem (this partition) is tested by calling |