[Buildroot] swapoff, but no swapon in initab

Peter Korsgaard peter at korsgaard.com
Tue Jun 12 09:06:13 UTC 2018


>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:

Hi,

 >> "All devices marked as ``swap'' in /etc/fstab are made available,
 >> except for those with the ``noauto'' option. Devices that are
 >> already being used as swap are silently skipped."

 >  So bottom line: it would make sense to add a swapon -a to the default inittabs
 > (both busybox and sysv).

Don't we then end up with an ugly error message / somewhat needlessly bloat
everyones busybox config for the (very common) situation where swap is
not used and disabled in the kernel?

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list