Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorFirminator <Firminator@users.noreply.github.com>2021-11-22 20:51:26 -0500
committerGitHub <noreply@github.com>2021-11-22 20:51:26 -0500
commit7774165b960226c5960613d6573e59b81b547c1d (patch)
tree60e06d997ef51fed883d8152c51d2518a4cabf11 /archinstall
parent77e4bf6fa955e1caf0a913a494718930b28decf5 (diff)
Update filesystem.py
just a few typos * label instead of labling * make UUID consistent
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/disk/filesystem.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/archinstall/lib/disk/filesystem.py b/archinstall/lib/disk/filesystem.py
index 93b0f375..83d7e34f 100644
--- a/archinstall/lib/disk/filesystem.py
+++ b/archinstall/lib/disk/filesystem.py
@@ -152,7 +152,7 @@ class Filesystem:
if self.mode == MBR:
if len(self.blockdevice.partitions) > 3:
- DiskError("Too many partitions on disk, MBR disks can only have 3 parimary partitions")
+ DiskError("Too many partitions on disk, MBR disks can only have 3 primary partitions")
if partition_format:
parted_string = f'{self.blockdevice.device} mkpart {partition_type} {partition_format} {start} {end}'
@@ -178,10 +178,10 @@ class Filesystem:
raise err
else:
count += 1
- log(f"Could not get uuid for partition. Waiting for the {count} time",level=logging.DEBUG)
+ log(f"Could not get UUID for partition. Waiting for the {count} time",level=logging.DEBUG)
time.sleep(float(storage['arguments'].get('disk-sleep', 0.2)))
else:
- log("Add partition exiting due to excesive wait time",level=logging.INFO)
+ log("Add partition is exiting due to excessive wait time",level=logging.INFO)
raise DiskError(f"New partition never showed up after adding new partition on {self}.")
def set_name(self, partition: int, name: str):
@@ -192,7 +192,7 @@ class Filesystem:
return self.parted(f'{self.blockdevice.device} set {partition + 1} {string}') == 0
def parted_mklabel(self, device: str, disk_label: str):
- log(f"Creating a new partition labling on {device}", level=logging.INFO, fg="yellow")
+ log(f"Creating a new partition label on {device}", level=logging.INFO, fg="yellow")
# Try to unmount devices before attempting to run mklabel
try:
SysCommand(f'bash -c "umount {device}?"')