[Toybox] mkswap arguments

Rob Landley rob at landley.net
Sat Feb 18 21:42:37 PST 2012


On 02/18/2012 07:16 AM, Elie De Brauwer wrote:
> Hi all,
> 
> In attach a trivial patch to mkswap, the argument list is <1>2, however
> mkswap only accepts one parameter (the location of the swap area) hence
> I changed this to <1>1. I also changed the help strin to clarify that
> this will work for both files and devices.

Heh.  Good catch.

When I was first looking at mkswap the existing versions had an archaic
mode (for linux 2.2 and earlier, maxing out at some ridiculously small
size like 128 megs or something), but I decided not to implement it.
The second argument was related to that.

Applied,

Rob

 1329630157.0


More information about the Toybox mailing list