[Buildroot] swapoff, but no swapon in initab

Carlos Santos casantos at datacom.com.br
Wed Jun 6 17:14:17 UTC 2018


I'm working on a product that needs a swap partition and noticed that
both package/{busybox,sysvinit}/inittab invoke "swapoff -a" in their
shutdown sequences but do not invoke "swapon -a". Is this intentional
or the swapon call is missing (e.g. right after "mount -a")?

BTW, what about systemd?

Carlos Santos (Casantos) - DATACOM, P&D
Rua América, 1000 - Eldorado do Sul, RS, Brasil - 92990-000
casantos at datacom.com.br          +55 51 3933.3000 ext. 3627

More information about the buildroot mailing list