[archiso] Change cowfile_size= behavior

Move from percent to explicit size and set a default of 256M (sparse)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
This commit is contained in:
Gerardo Exequiel Pozzi 2014-10-12 21:03:52 -03:00
parent ccbeb35a7f
commit edfdd37ba0
3 changed files with 13 additions and 21 deletions

View file

@ -31,27 +31,26 @@ INDEX
and continue booting if ok.
Default: (unset)
* cow_label= Set the filesystem label where COW (dm-snapshot)
files must be stored.
file must be stored.
Default: (unset)
* cow_device= Set the device node where COW (dm-snapshot) files
* cow_device= Set the device node where COW (dm-snapshot) file
must be stored.
Default: (unset) or "/dev/disk/by-label/${cow_label}"
* cow_directory= Set a directory inside ${cow_device}.
Default: "/persistent_${archisolabel}/${arch}"
* cow_persistent= Set if snapshots are persistent "P" or non-persistent "N".
* cow_persistent= Set if snapshot is persistent "P" or non-persistent "N".
Default: "N" (if no ${cow_device} is used) otherwise "P".
* cowspace_size= Set the size of tmpfs /cowspace. This space is used for
Copy-On-Write files of dm-snapshot.
Size is in bytes (suffix with "k", "m" and "g") or
in percentage of available RAM.
Default: "75%"
* cowfile_size= Set the size for all files to be used as COW (dm-snapshot),
in percentage of the ro-device.fs file. This is mostly useful
when cow_device= is used and filesystem does not support
sparse files (ie VFAT).
Default: "100%"
* cowfile_size= Set the size for COW file (dm-snapshot).
The argument is an integer and optional unit.
Units are M,G (powers of 1024) or MB,GB (powers of 1000).
Default: "256M"
* copytoram_size= Set the size of tmpfs. This space is used for
copy of all SquashFS images used, if copytoram=y.
airootfs.sfs image if copytoram=y.
Size is in bytes (suffix with "k", "m" and "g") or
in percentage of available RAM.
Default: "75%"