[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re:[PATCH v1] Size reduction, cleanup, fixes, improvements for swapon/swapoff
From: Tito <farmatito () tiscali ! it>
Date: 2014-03-31 20:18:07
Message-ID: 201403312218.07275.farmatito () tiscali ! it
[Download RAW message or body]
>>* 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
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic