summaryrefslogtreecommitdiff
path: root/util-linux/swaponoff.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-031-1/+1
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-1/+1
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* Change license statements (and clean up headers) on some of the files thatRob Landley2006-09-221-4/+1
| | | | Erik or I are primary copyright holders on.
* - fix copy'n paste errors that got introduced when switching to the shorter ↵Bernhard Reutner-Fischer2006-09-131-1/+1
| | | | | | boilerplate. No object code changes.
* Remove pointless "const". Bloatcheck says 0 bytes difference.Rob Landley2006-09-121-1/+1
|
* Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot ofRob Landley2006-06-151-4/+1
| | | | | | fallout due to the #include <sys/mount.h>. Removed that #include from various applets and fixed up those that were unhappy when that #include was made because they'd block copied stuff out of it. (Sigh.)
* Patch from Denis Vlasenko to add xstat() and use it.Rob Landley2006-03-131-2/+1
|
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* accept unlimited number of swap arguments like the real swap{on,off} and ↵Mike Frysinger2005-09-161-8/+11
| | | | shrink do_em_all a little
* whitespace/syntax cleanups, dont mind me :pMike Frysinger2005-09-131-36/+22
|
* Cleanup patch from Tito.Rob Landley2005-09-131-36/+11
|
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-2/+1
|
* Remove remaining libc5 support codeEric Andersen2003-07-221-7/+0
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-2/+2
|
* Major coreutils update.Manuel Novoa III2003-03-191-7/+7
|
* Test for holes in swapfilesEric Andersen2002-11-031-0/+12
| | | | -Erik
* last_patch64 from vodz:0_60_5Eric Andersen2002-10-261-15/+17
| | | | | | | | | | | | | The following usage from original user: $ ./busybox swapon -a Have typo problem: swapon: swapon: Operation not permitted But regular version: swapon: /dev/hda5: Operation not permitted Patch attached, reduced 9 bytes and advanced exit code also.
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-3/+2
| | | | -Erik
* Scrub up some function prototypes.Eric Andersen2001-10-181-1/+1
| | | | -Erik
* A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen2001-04-051-5/+8
| | | | | | shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
* A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen2001-03-091-2/+2
| | | | namespace polluting things that really should be static.
* Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanupEric Andersen2001-03-091-0/+1
| | | | | warnings with glibc 2.2 and use always use xfopen -Erik
* 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-1/+1
| | | | | | 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-1/+1
|
* Fix up copyright msgs. Bump version to 0.49 in preparation for0_49Eric Andersen2001-01-271-1/+1
| | | | | a release. Update the website with release details. -Erik
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-271-1/+4
| | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
* #define -> static const int. Also got rid of some big static buffers.Mark Whitley2001-01-231-2/+2
|
* Use busybox error handling functions wherever possible.Matt Kraai2000-12-221-8/+4
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-1/+1
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Stop using TRUE and FALSE for exit status.Matt Kraai2000-12-011-4/+3
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Extract usage information into a separate file.Matt Kraai2000-07-161-19/+0
|
* Use global applet_name instead of local versions.Matt Kraai2000-07-121-6/+2
|
* Forgot to commit these cleanups it seems.Eric Andersen2000-07-111-1/+0
| | | | -Erik
* Remove yet more kernel header dependancies.Eric Andersen2000-07-101-1/+1
| | | | -Erik
* Make swaponoff compile cleanly under both libc5 and libc6.Eric Andersen2000-06-191-2/+4
| | | | -Erik
* * Fixed 'swapon -a' and 'swapoff -a', which were broken.Eric Andersen2000-06-071-1/+1
| | | | | | * Fixed 'mount -a' so it works as expected. * Implemented 'ls -R' (enabled by enabling BB_FEATURE_LS_RECURSIVE) -Erik
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen2000-05-121-6/+12
| | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
* Upates to include copyright 2000 to everythingErik Andersen2000-04-131-1/+1
| | | | -Erik
* Yet another installment in the ongoing tar sagaErik Andersen2000-03-281-1/+6
| | | | -Erik
* Fixed the init problem where it wouldn't unmount filesystemsErik Andersen2000-02-091-12/+11
| | | | | on reboot. Also fixed swapoff -a so it works. -Erik
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-64/+67
| | | | -Erik
* A few minor updates. ;-)Erik Andersen2000-02-071-3/+2
| | | | | | Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik
* Fixed up copyright notices and suchEric Andersen1999-10-201-1/+3
|
* More stuff.Eric Andersen1999-10-181-5/+5
| | | | -Erik
* More fixesEric Andersen1999-10-181-0/+121