[PATCH v1] Size reduction, cleanup, fixes, improvements for swapon/swapoff

Tito farmatito at tiscali.it
Mon Mar 31 20:18:07 UTC 2014


>>* Tito <farmatito at tiscali.it> [31.03.2014 09:53]:
>> So now swapoff first cycles through  /proc/swaps and then through fstab
>> to swapoff all devices. 
>
>Does it make sense to "swapoff" devices which are not known via /proc/swaps?
>Or is it just if /proc is missing?
>
>nevertheless: thanks for submission! bye, bastian

Sorry Bastian but your mail somehow didn't get through to my mail client.

Real swapoff does more or less the same: first /proc/swaps and then
/etc/fstab. Doing both without further error checking maybe adds a little
overhead but reduces code needed.

Ciao,
Tito


More information about the busybox mailing list