summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/utils/fs.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/fs.py b/src/utils/fs.py
index 55c24cf..a9964a3 100644
--- a/src/utils/fs.py
+++ b/src/utils/fs.py
@@ -104,6 +104,8 @@ def ogReduceFs(disk, part):
ret = _reduce_resize2fs(partdev)
elif fstype == 'ntfs':
ret = _reduce_ntfsresize(partdev)
+ elif fstype == 'vfat':
+ ret = 0
else:
ret = -1
logging.error(f'Unable to shrink filesystem at {partdev}. '
@@ -127,6 +129,8 @@ def ogExtendFs(disk, part):
_extend_resize2fs(partdev)
elif fstype == 'ntfs':
_extend_ntfsresize(partdev)
+ elif fstype == 'vfat':
+ pass
else:
logging.error(f'Unable to grow filesystem at {partdev}. '
f'Unsupported filesystem "{fstype}".')