sonic-buildimage/files/initramfs-tools
Ying Xie 8bf9247c5e
[tmpfs var/log] mount /var/log as tmpfs for some platforms (#2780)
SONiC is a heavy writer to /var/log partition, we noticed that this
behavior causes certain flash drive to become read-only over time.
To avoid this issue, we mount /var/log parition on these devices as
tmpfs.

- Mount /var/log as tmpfs
- /var/log default size is 128M
- Adjust size according to existing var-log.ext4 file size.
- Adjust size to between 5% to 10% of total memory size.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-04-14 22:46:26 -07:00
..
arista-convertfs.j2 [device/arista]: Update (#2336) 2018-12-04 10:08:55 -08:00
arista-hook Add initramfs hook for Arista devices (#2595) 2019-02-27 10:28:04 -08:00
arista-net [Arista] Set MAC address of mangement port in initramfs (#1565) 2018-04-06 10:48:13 -07:00
mke2fs Reduce SONiC migration partition from 8G to 1G. (#1343) 2018-02-07 22:07:01 +08:00
modules [device]: Enable arista drivers for sonic-linux-kernel 4.9 (#21) 2018-08-11 09:09:03 +00:00
resize-rootfs Reduce SONiC migration partition from 8G to 1G. (#1343) 2018-02-07 22:07:01 +08:00
setfacl [aboot]: Add setfacl in the initramfs (#1185) 2017-11-24 17:30:11 -08:00
udev.patch [baseimage]: build root filesystem via overlay fs instead of aufs 2018-08-11 09:07:59 +00:00
union-fsck New release v1.0.0 2016-03-08 11:42:20 -08:00
union-mount.j2 [tmpfs var/log] mount /var/log as tmpfs for some platforms (#2780) 2019-04-14 22:46:26 -07:00
varlog [baseimage]: allocate varlog disk in the initramfs stage (#936) 2017-09-06 20:07:32 -07:00