aboutsummaryrefslogtreecommitdiff
path: root/utils/uvol/files/autopart.defaults
Commit message (Collapse)AuthorAge
* uvol: add missing quoteDaniel Golle2023-01-25
| | | | | | | Add missing quote which broke the autopart script. Fixes: b1edbe349 ("uvol: fix regression in handling fractional megabytes free") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* uvol: fix regression in handling fractional megabytes freePhilip Prindeville2023-01-23
| | | | | | Also, fix off-by-one issue when computing free size. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* uvol: fix autopart handling double/float numberDaniel Golle2022-08-14
| | | | | | | Consider only integer part of free space in megabytes when deciding the boundaries of the to be created partition. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* autopart: work on MBR/DOS partitioned disksDaniel Golle2021-07-10
| | | | | | | | Using GPT/UUID parition table is not always a possible choice. Add support for MBR/DOS partitioned disks to make autopart work on legacy targets like mt7623. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* uvol: try to be more shellcheck compliant, fix LVM vol-upDaniel Golle2021-06-13
| | | | | | | | | * quotes around all variables * always use 'read -r' instead of 'read' * some more minor shellcheck fixes * reorder LVM ops for 'up' call to allow it to succeed Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* uvol: improve autopart and lvm scripts, fix F2FS volumesDaniel Golle2021-04-21
| | | | | | | | | | | | Use sfdisk to get GPT partition by name as partition names are not known by the kernel if added via partx. Make sure physical volume names are unique, if possible correlate with the disks serial number and/or card's cid. mkf2fs apparently returns 134 even in case format succeeded, so don't fail in that case (this fixes rw volumes large enough for F2FS to be selected by the lvm scripts of uvol). Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* uvol: add new packageDaniel Golle2021-04-10
uvol is a wrapper-script which allows automated handling of storage volumes. uvol currently comes with backend support for LVM2 and UBI, covering practically all options for storage large enough to be managed (NAND, SPI-NAND, eMMC, SATA, NVME, virtio-blk, ...). Signed-off-by: Daniel Golle <daniel@makrotopia.org>