summaryrefslogtreecommitdiff
path: root/util-linux/mkswap.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Bernhard Reutner-Fischer2007-04-041-2/+2
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* hunt down improper include <>, make mkswap output 4Gb+ friendlyDenis Vlasenko2006-11-241-6/+7
|
* Change license statements (and clean up headers) on some of the files thatRob Landley2006-09-221-1/+1
| | | | Erik or I are primary copyright holders on.
* whitespace cleanupDenis Vlasenko2006-09-171-1/+1
|
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-1/+1
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* New mkswap. Small and simple. Might even work. :)Rob Landley2006-07-161-380/+29
|
* Remove "#if 0" content."Robert P. J. Day"2006-07-011-4/+0
|
* Remove warnings caused by #include <sys/mount.h> in platform.h. ApparentlyRob Landley2006-06-161-11/+1
| | | | we redefine a lot of stuff from standard header files...
* - single KERNEL_VERSION(a,b,c) macro in platform.hBernhard Reutner-Fischer2006-05-191-5/+5
| | | | | - rename get_kernel_revision() to get_linux_version_code from Robert P. J. Day
* - patch from Denis Vlasenko to add and use bb_xopen3()Bernhard Reutner-Fischer2006-04-131-2/+2
|
* - patch from Denis Vlasenko to add and use bb_xsocket() and to useBernhard Reutner-Fischer2006-04-121-4/+3
| | | | | bb_xopen some more while at it. Also use shorter boilerplate while at it.
* - shrink mkswap and make v0 support optional. Thanks also to Tito for his ideas.Bernhard Reutner-Fischer2006-03-291-79/+73
| | | | | | | | http://busybox.net/lists/busybox/2006-March/019326.html 2137 8 28 2173 87d util-linux/mkswap.o.orig 1890 8 28 1926 786 util-linux/mkswap.o.v0+v1 1560 4 28 1592 638 util-linux/mkswap.o.v1
* Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley2006-03-101-1/+1
| | | | the busybox binary) into enums (which don't).
* hopefully the last of the annoying signed/unsigned and mixed type errorsEric Andersen2006-01-301-2/+2
|
* Patch from David Meggy to make the swap default to the new version if noGlenn L McGrath2003-10-311-5/+1
| | | | version is specified and the kernel is relatively new.
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-1/+1
|
* Major coreutils update.Manuel Novoa III2003-03-191-23/+23
|
* Apply lash_patch35 from vodz, which brings several nice size_optimizations.Eric Andersen2002-04-061-4/+4
|
* Scrub up some function prototypes.Eric Andersen2001-10-181-1/+1
| | | | -Erik
* A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen2001-03-091-1/+1
| | | | namespace polluting things that really should be static.
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-1/+1
| | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-5/+5
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai2001-01-311-16/+16
|
* Cleanup patch from Vladimir N. Oleynik.Eric Andersen2001-01-311-15/+9
| | | | | | * mkdir: remove 3 lines in source code. * mkfs_minix: save 32 bytes, remove 4 bugs. * mkswap: save 64 bytes, remove 1 bug.
* #define -> static const int. Also got rid of some big static buffers.Mark Whitley2001-01-231-1/+1
|
* Use busybox error handling functions wherever possible.Matt Kraai2000-12-221-9/+4
|
* Make more things be static (like they are supposed to be).Eric Andersen2000-12-201-4/+4
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-8/+8
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Stop using TRUE and FALSE for exit status.Matt Kraai2000-12-011-5/+5
|
* Fix uname problem that was breaking poweroff.Eric Andersen2000-10-301-16/+2
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Some #include updates.Eric Andersen2000-08-101-1/+0
| | | | -Erik
* Extract usage information into a separate file.Matt Kraai2000-07-161-14/+0
|
* Use errorMsg rather than fprintf.Matt Kraai2000-07-141-20/+13
|
* Use global applet_name instead of local versions.Matt Kraai2000-07-121-11/+7
|
* Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen2000-06-191-1/+1
| | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen2000-05-121-3/+6
| | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
* * all mallocs now use xmalloc (and so are OOM error safe), andErik Andersen2000-03-211-4/+2
| | | | | | the common error handling saves a few bytes. Thanks to Bob Tinsley <bob@earthrise.demon.co.uk> for the patch. -Erik
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-97/+100
| | | | -Erik
* Updates to usage, and made tar work.Eric Andersen1999-11-101-4/+5
| | | | -Erik
* Added sfdisk. Ststic-ified a bunch of stuff.Eric Andersen1999-10-191-116/+332
|
* More stuff.Eric Andersen1999-10-181-9/+8
| | | | -Erik
* Initial revision0_29alpha2Eric Andersen1999-10-051-0/+253