diff options
Diffstat (limited to 'sys-block/zram-init/files/zram.confd')
-rw-r--r-- | sys-block/zram-init/files/zram.confd | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sys-block/zram-init/files/zram.confd b/sys-block/zram-init/files/zram.confd new file mode 100644 index 00000000..022a0d86 --- /dev/null +++ b/sys-block/zram-init/files/zram.confd @@ -0,0 +1,36 @@ +# zram settings... + +# load zram kernel module on start? +load_on_start="yes" + +# unload zram kernel module on stop? +unload_on_stop="yes" + +# Number of devices. +# It is also passed to the kernel module on modprobe. +num_devices="1" + +# For each device, specify size, type, and flags: +# size0, size1, ... are the variables for the sizes. +# type0, type1, ... are the variables for the types. +# flag0, flag1, ... are the variables for the flags. +# +# The size is in megabytes. +# If the size is 0 (or empty) the device is ignored by the script. +# +# Available types: +# "swap" The device is initialized as a swap device. +# The flags variable specifies the priority (default is 16383) +# "/..." The device is mounted on /... +# The flags variable specifies the type (ext2 or ext4, default is ext4) +# Devices with other types are ignored by the the script +# +# Only variables with numbers 0 ... num_devices-1 are used by the script. + +type0="swap" +flag0="16383" +size0="150" + +type1="/tmp" +flag1="ext4" +size1="500" |