[PATCH] size reduction and clean up swaponoff.c
Mike Frysinger
vapier at gentoo.org
Tue Sep 13 02:26:11 UTC 2005
On Monday 12 September 2005 09:12 pm, Rob Landley wrote:
> On Monday 12 September 2005 07:36, Tito wrote:
> > Hi,
> > this patch cleans up the code in swaponoff.c.
> > Size reduction is:
> > text data bss dec hex filename
> > 433 0 4 437 1b5 util-linux/swaponoff.o.orig
> > 347 0 0 347 15b util-linux/swaponoff.o
> >
> > Tested. Please apply.
>
> Looks sane to me, tried it and it works.
unrelated to this patch, and minor overall, but our swap utils different from
normal in that:
- normal swap utils accept unlimited paths
swapon /dev/hda1 /dev/hda2 /dev/hdb2
- normal swap utils dont complain when you run with -a
swapon -a
swapon -a
swapoff -a
swapoff -a
these are trivial to fix, but they are trivial in and of themselves ... anyone
think i should bother committing these ?
-mike
More information about the busybox
mailing list