31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
|
# Module that resizes a single FS to fill the entire (rest) of
|
||
|
# a device. This is used in OEM situations where an image is
|
||
|
# flashed onto an SD card (or similar) and used to boot a device,
|
||
|
# after which the FS should expand to fill the SD card.
|
||
|
#
|
||
|
# Example: a distro produces a 6GiB large image that is
|
||
|
# written to an 8GiB SD card; the FS should expand to take
|
||
|
# advantage of the unused 2GiB. The FS should expand much
|
||
|
# more if the same image is written to a 16GiB card.
|
||
|
--
|
||
|
|
||
|
# Which FS needs to be grown? Choose one way to identify it:
|
||
|
# - *fs* names a mount point which should already be mounted
|
||
|
# in the system.
|
||
|
# - *dev* names a device
|
||
|
fs: /
|
||
|
# dev: /dev/mmcblk0p1
|
||
|
|
||
|
# How much of the total remaining space should the FS use?
|
||
|
# The only sensible amount is "all of it". The value is
|
||
|
# in percent, so set it to 100. Perhaps a fixed size is
|
||
|
# needed (that would be weird though, since you don't know
|
||
|
# how big the card is), use MiB as suffix in that case.
|
||
|
size: 100%
|
||
|
|
||
|
# Resizing might not be worth it, though. Set the minimum
|
||
|
# that it must grow; if it cannot grow that much, the
|
||
|
# resizing is skipped. Can be in percentage or absolute
|
||
|
# size, as above.
|
||
|
atleast: 1000MiB
|