diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2023-02-07 09:52:49 +0100 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2023-02-08 17:11:44 +0100 |
commit | eac942660fde877a8594828e5784ba532dfc814e (patch) | |
tree | b3f709728d8a7018714f1ac70401df5882bae5dd /src/utils/inventory.py | |
parent | 29c53e54e9459cd652c908e2e13b616778e6e4f1 (diff) |
utils: add fs.py
Adds utility module which wraps several mkfs.* calls as a subprocess.
The main utility function is mkfs(fs, disk, partition, label), which
subsequently calls the corresponding mkfs_*(partition_device) function.
mkfs() supports specifying a drive label where supported.
Other modules using fs.py should call mkfs() only.
Diffstat (limited to 'src/utils/inventory.py')
0 files changed, 0 insertions, 0 deletions