Mark Whitley
59ab025363
#define -> static const int. Also got rid of some big static buffers.
2001-01-23 22:30:04 +00:00
Matt Kraai
fd4c58d7c5
Fix the exit status of umount -a, a casualty of the TRUE/FALSE normalization.
...
Thanks to Francois-R Boyer <boyerf@IRO.UMontreal.CA> for the report.
2001-01-17 00:12:11 +00:00
Matt Kraai
a9819b2908
Use busybox error handling functions wherever possible.
2000-12-22 01:48:07 +00:00
Mark Whitley
f57c944e09
Changed names of functions in utility.c and all affected files, to make
...
compliant with the style guide. Everybody rebuild your tags file!
2000-12-07 19:56:48 +00:00
Matt Kraai
92ed8a3519
Fix exit status on failure.
2000-12-06 15:55:23 +00:00
Matt Kraai
3e856ce428
Stop using TRUE and FALSE for exit status.
2000-12-01 02:55:13 +00:00
Eric Andersen
3570a34de4
Renamed "internal.h" to the more sensible "busybox.h".
...
-Erik
2000-09-25 21:45:58 +00:00
Eric Andersen
b040d4f3da
Use BB_FEATURE_CLEAN_UP where appropriate
...
-Erik
2000-07-25 18:01:20 +00:00
Matt Kraai
bf181b9338
Extract usage information into a separate file.
2000-07-16 20:57:15 +00:00
Matt Kraai
d537a95fdb
Use errorMsg rather than fprintf.
2000-07-14 01:51:25 +00:00
Matt Kraai
be84cd4ef6
Always report the applet name when doing error reporting.
2000-07-12 17:02:35 +00:00
Eric Andersen
a57ba4db64
Argh. More cross libc cleanup. Should be ok now...
...
-Erik
2000-07-08 19:20:49 +00:00
Eric Andersen
2cd439f7f0
More cleanup on umount
...
-Erik
2000-07-08 19:10:29 +00:00
Eric Andersen
bd22ed8067
Update files to reduce dependance on kernel version...
...
-Erik
2000-07-08 18:55:24 +00:00
Eric Andersen
bd4a75f6c8
Finish off the libc5 porting effort. Everything now works with libc5
...
except for md5sum, which uses the GNU libc addition getline().
-Erik
2000-06-19 20:03:48 +00:00
Eric Andersen
e1e23eecab
Make umount work and compile cleanly under libc5 and libc6.
...
-Erik
2000-06-19 18:38:51 +00:00
Erik Andersen
7ab9c7ee52
Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP
...
which lets you compile out most of the "--help" output, saving
up to 17k.
Renamed mnc to nc.
-Erik
2000-05-12 19:41:47 +00:00
Erik Andersen
6c5f2c6021
Add support for "noatime" and "nodiratime" mount flags to mount.
...
Change umount "-f" to mean force, and actually use umount2.
Change umount "-l" to mean "Do not free loop device".
Updates docs accordingly.
-Erik
2000-05-05 19:49:33 +00:00
Erik Andersen
0a704e8ff6
Remove BB_FEATURE_REMOUNT (small, and should always be present)
...
and fix documentation dependancy checks, so it is only built when
it should be built.
-Erik
2000-05-03 03:19:06 +00:00
Erik Andersen
61677feff7
Upates to include copyright 2000 to everything
...
-Erik
2000-04-13 01:18:56 +00:00
Erik Andersen
983b51b17b
minor changes to mount/umount to support-by-ignoring the "-v" flag.
...
Added optional core dumping as a feature for init, and include a rewrite
of syslogd so that it now supports multiple concurrent connections.
-Erik
2000-04-04 18:14:25 +00:00
Erik Andersen
298854f029
My latest ramblings.
...
-Erik
2000-03-23 01:09:18 +00:00
Erik Andersen
ec5bd90916
Use the nice new find_real_root_device function to find the
...
name of the root device, instead of having libc read whatever
lies happen to be in /etc/mtab.
-Erik
2000-03-22 07:12:05 +00:00
Erik Andersen
0d068a2067
* all mallocs now use xmalloc (and so are OOM error safe), and
...
the common error handling saves a few bytes. Thanks to
Bob Tinsley <bob@earthrise.demon.co.uk> for the patch.
-Erik
2000-03-21 22:32:57 +00:00
Erik Andersen
ce91732416
Some bug fixes I forgot to check-in the other day.
...
Mounting loop devices w/o specifying the filesystem
type choked if it didn't guess right the first time.
-Erik
2000-03-13 04:07:02 +00:00
Erik Andersen
5b911ddd57
Fixed rebooting when init runs as /linuxrc
...
-Erik
2000-02-23 22:49:58 +00:00
Erik Andersen
e132f4b09e
Fixed the init problem where it wouldn't unmount filesystems
...
on reboot. Also fixed swapoff -a so it works.
-Erik
2000-02-09 04:16:43 +00:00
Erik Andersen
e49d5ecbbe
Some formatting updates (ran the code through indent)
...
-Erik
2000-02-08 19:58:47 +00:00
Erik Andersen
fac10d7c59
A few minor updates. ;-)
...
Seriously though, read the Changelog for busybox 0.42,
which this is about to become...
-Erik
2000-02-07 05:29:42 +00:00
Erik Andersen
5cbdd712f5
mount and umount could leak loop device allocations causing the system to
...
quickly run out. Also disable init's SIGHUP handler during shutdown.
-Erik
2000-01-26 20:06:48 +00:00
Erik Andersen
5509af7073
* added (and documented) "-n" option for head -
...
contributed Friedrich Vedder <fwv@myrtle.lahn.de>
* Cleanup for a number of usage messages -- also
contributed Friedrich Vedder <fwv@myrtle.lahn.de>
-Erik
2000-01-23 18:19:02 +00:00
Erik Andersen
b7cc49d992
* Added -o loop option for mount, and support in umount for loop
...
devices. Support is toggled by MOUNT_LOOP feature -- Ben Collins
<bcollins@debian.org>
-Erik
2000-01-13 06:38:14 +00:00
Eric Andersen
485b9550fd
Stuf
1999-12-07 23:14:59 +00:00
Eric Andersen
d00c262847
Stuf
1999-12-07 08:37:31 +00:00
Eric Andersen
1667fb4b63
Fixes
1999-11-27 20:34:28 +00:00
Eric Andersen
b6a44b8d39
updates for the day
1999-11-13 04:47:09 +00:00
Eric Andersen
d73dc5b073
Updates to usage, and made tar work.
...
-Erik
1999-11-10 23:13:02 +00:00
Eric Andersen
cf8c9cf7b9
More stuff -- ready for release.
...
-Erik
1999-11-05 00:31:46 +00:00
Eric Andersen
d0246fb72b
More stuff.
1999-11-04 21:18:07 +00:00
Eric Andersen
c49960189a
Fixed up copyright notices and such
1999-10-20 22:08:37 +00:00
Eric Andersen
e77ae3a2c0
Added sfdisk. Ststic-ified a bunch of stuff.
1999-10-19 20:03:34 +00:00
Eric Andersen
b0e9a709ba
More stuff.
...
-Erik
1999-10-18 22:28:26 +00:00
Eric Andersen
bed30e9700
More fixes
1999-10-18 19:02:32 +00:00
Eric Andersen
3c163822d8
Fixed cp -[aR] and some other stuf.
1999-10-14 22:16:57 +00:00
Eric Andersen
f811e07b07
More stuff.
1999-10-09 00:25:00 +00:00
Eric Andersen
cc8ed39b24
Initial revision
1999-10-05 16:24:54 +00:00