Go to file
Eric Andersen 0b4551faf5 From Matt Kraai <kraai@alumni.carnegiemellon.edu>:
Howdy,

Bug #1006 reports that

ln -s /tmp/foo .

does not work correctly.  In fact, it appears that any instantiation of

ln -s FILE... DIRECTORY

does not work.  The following patch adds support for this form, which
then fixes the particular instance noted in the bug report.

In the process, I needed the basename function.  This appears in the
string.h provided by glibc, but not uC-libc.  So I wrote my own to go in
utility.c, called get_last_path_component.  I also modified the basename
utility to use this function.

At some point it might be desirous to use the basename from the library
if it exists, and otherwise compile our own.  But I don't know how to do
this.

Matt
2000-07-10 16:44:03 +00:00
applets Removed sfdisk from BusyBox. It was buggy, fat, and we really couldn't 2000-07-07 20:54:30 +00:00
archival * Fixed tar creation support when reading from stdin ('tar -cf - . ') 2000-07-06 22:51:35 +00:00
console-tools More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc 2000-07-09 06:59:58 +00:00
coreutils From Matt Kraai <kraai@alumni.carnegiemellon.edu>: 2000-07-10 16:44:03 +00:00
debian The build depends were too strict. I depended on on debhelper (>= 2.0.80) 2000-07-09 01:54:33 +00:00
docs Add in tinynet 2000-07-08 16:19:10 +00:00
editors Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
examples Add in my fix for 2.4.x kernels so /proc/mounts will not have useless 2000-07-07 21:22:19 +00:00
findutils Applied patch from Matt Kraai as per his email: 2000-07-10 15:50:26 +00:00
init Update files to reduce dependance on kernel version... 2000-07-08 18:55:24 +00:00
miscutils Yanked out the cstring_alloc() and cstring_lineFromFile() functions from 2000-06-28 22:15:26 +00:00
modutils More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc 2000-07-09 06:59:58 +00:00
networking More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc 2000-07-09 06:59:58 +00:00
procps Reorganized signal names for better architecture support -- patch 2000-07-06 17:05:33 +00:00
scripts Update the sample inittab to add the "ctrlaltdel" action. 2000-02-09 04:40:25 +00:00
shell Naming fix 2000-07-07 20:37:12 +00:00
sysklogd More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc 2000-07-09 06:59:58 +00:00
tests Remove trailing space char. 2000-06-14 22:16:59 +00:00
util-linux Argh. More cross libc cleanup. Should be ok now... 2000-07-08 19:20:49 +00:00
.cvsignore Stuf 1999-10-23 07:09:58 +00:00
ar.c Patch from Matt Kraai <kraai@alumni.carnegiemellon.edu> to 2000-07-05 17:21:58 +00:00
AUTHORS Added in Matt Kraai. 2000-07-07 20:53:16 +00:00
basename.c From Matt Kraai <kraai@alumni.carnegiemellon.edu>: 2000-07-10 16:44:03 +00:00
busybox.c Removed sfdisk from BusyBox. It was buggy, fat, and we really couldn't 2000-07-07 20:54:30 +00:00
busybox.def.h Better description of the BB_FEATURE_USE_DEVPS_PATCH option. 2000-07-07 23:51:37 +00:00
busybox.mkll Fix sed regexp replacement, which I had hosed (thanks to 2000-04-06 07:37:35 +00:00
busybox.sh Use gcc -E instead of cpp to enhance portability for brain 2000-04-06 00:10:39 +00:00
busybox.spec Bump version number to 0.45 2000-06-21 22:50:59 +00:00
cat.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
Changelog Removed sfdisk from BusyBox. It was buggy, fat, and we really couldn't 2000-07-07 20:54:30 +00:00
chmod_chown_chgrp.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
chroot.c This is a fix for chroot 2000-06-02 17:56:45 +00:00
chvt.c Update files to reduce dependance on kernel version... 2000-07-08 18:55:24 +00:00
clear.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
cmdedit.c Fixed a potential infinite loop. First delete any chars after the 2000-07-04 06:22:18 +00:00
cmdedit.h Naming fix 2000-07-07 20:37:12 +00:00
cp_mv.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
cut.c Fixed segfault with 'cut -f 1 -d:' and added 'cut -s' suport. 2000-06-26 12:14:30 +00:00
date.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
dc.c Yanked out the cstring_alloc() and cstring_lineFromFile() functions from 2000-06-28 22:15:26 +00:00
dd.c * cp -fa now works as expected for symlinks (it didn't before) 2000-05-10 05:05:45 +00:00
deallocvt.c Update files to reduce dependance on kernel version... 2000-07-08 18:55:24 +00:00
define.sh + this is a small script for helping TargetWizard auto-generate 2000-02-23 18:17:35 +00:00
df.c Remove misguided klude around for 2.4.x-test* brokenness. Al Viro 2000-07-05 19:29:59 +00:00
dirname.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
dmesg.c Update files to reduce dependance on kernel version... 2000-07-08 18:55:24 +00:00
du.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
dutmp.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
echo.c * Fix to tr so it recognizes standard escape sequences. Merged common 2000-07-05 17:26:35 +00:00
fbset.c Turned some stuff into features that really are features, not apps. 2000-07-06 23:10:29 +00:00
fdflush.c Update files to reduce dependance on kernel version... 2000-07-08 18:55:24 +00:00
find.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
free.c Updates to handle Linux 2.4.0 kernels (kludged around the "none" entries in 2000-06-26 10:45:52 +00:00
freeramdisk.c a few minor cleanups. 2000-07-06 09:56:35 +00:00
fsck_minix.c Remove some warning with glibc. 2000-07-06 17:08:38 +00:00
grep.c Applied patch from Matt Kraai as per his email: 2000-07-10 15:50:26 +00:00
gunzip.c a few minor cleanups. 2000-07-06 09:56:35 +00:00
gzip.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
halt.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
head.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
hostid.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
hostname.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
id.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
init.c Update files to reduce dependance on kernel version... 2000-07-08 18:55:24 +00:00
insmod.c More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc 2000-07-09 06:59:58 +00:00
install.sh Fix creation of /linuxrc 2000-04-18 23:32:10 +00:00
internal.h From Matt Kraai <kraai@alumni.carnegiemellon.edu>: 2000-07-10 16:44:03 +00:00
kill.c Reorganized signal names for better architecture support -- patch 2000-07-06 17:05:33 +00:00
lash.c Had an extra tcsetpgrp. 2000-07-06 16:56:56 +00:00
length.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
LICENSE Fixed spelling of my name. Geez. 1999-12-11 23:25:59 +00:00
ln.c From Matt Kraai <kraai@alumni.carnegiemellon.edu>: 2000-07-10 16:44:03 +00:00
loadacm.c More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc 2000-07-09 06:59:58 +00:00
loadfont.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
loadkmap.c Update files to reduce dependance on kernel version... 2000-07-08 18:55:24 +00:00
logger.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
logname.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
ls.c Update files to reduce dependance on kernel version... 2000-07-08 18:55:24 +00:00
lsmod.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
makedevs.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
Makefile Fix a dependancy bug for the docs. 2000-07-07 20:52:56 +00:00
md5sum.c More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc 2000-07-09 06:59:58 +00:00
messages.c Fixed segfaults for "chown -R" and "chgrp -R". Also added a message for "too 2000-06-06 18:11:46 +00:00
mkdir.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
mkfifo.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
mkfs_minix.c Some cosmetic updates. Changed "OPTIONS" to "Options". 2000-07-04 22:17:01 +00:00
mknod.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
mkswap.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
mktemp.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
more.c Cleaned up some #ifdef spiderwebs. 2000-06-21 22:53:16 +00:00
mount.c Argh. More cross libc cleanup. Should be ok now... 2000-07-08 19:20:49 +00:00
mt.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
mtab.c Some formatting updates (ran the code through indent) 2000-02-08 19:58:47 +00:00
nc.c "nc" exits silently on errors. This patch makes it print something before 2000-06-04 05:21:49 +00:00
nfsmount.c Some formatting updates (ran the code through indent) 2000-02-08 19:58:47 +00:00
nfsmount.h Some formatting updates (ran the code through indent) 2000-02-08 19:58:47 +00:00
nslookup.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
ping.c More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc 2000-07-09 06:59:58 +00:00
poweroff.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
printf.c printf now compiles cleanly under both libc5 and libc6. 2000-06-19 17:52:17 +00:00
ps.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
pwd.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
README More doc updates 2000-06-22 00:19:33 +00:00
reboot.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
regexp.c Moved some function decls, a struct, and a #define from regexp.h into here. 2000-06-28 21:59:31 +00:00
regexp.h Removed some function decls (regex, regcomp, etc.) and put them in regexp.c 2000-06-28 21:58:31 +00:00
rm.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
rmdir.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
rmmod.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
sed.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
setkeycodes.c Update files to reduce dependance on kernel version... 2000-07-08 18:55:24 +00:00
sh.c Had an extra tcsetpgrp. 2000-07-06 16:56:56 +00:00
sleep.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
sort.c Yanked out the cstring_alloc() and cstring_lineFromFile() functions from 2000-06-28 22:15:26 +00:00
swaponoff.c Make swaponoff compile cleanly under both libc5 and libc6. 2000-06-19 18:25:49 +00:00
sync.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
syslogd.c More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc 2000-07-09 06:59:58 +00:00
tail.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
tar.c * Fixed tar creation support when reading from stdin ('tar -cf - . ') 2000-07-06 22:51:35 +00:00
tee.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
telnet.c Integrate Tomi Ollila's telnet. Costs 3k. :) 2000-06-14 20:42:57 +00:00
test.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
TODO Remove stuff now moved into the bug tracking system. 2000-06-27 18:12:19 +00:00
touch.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
tr.c Patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>: 2000-07-10 16:38:50 +00:00
true_false.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
tty.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
umount.c Argh. More cross libc cleanup. Should be ok now... 2000-07-08 19:20:49 +00:00
uname.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
uniq.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
update.c Make syslogd.c, init.c, and update.c compile error/warning free under both libc5 and libc6. 2000-06-19 18:14:20 +00:00
uptime.c Updates to handle Linux 2.4.0 kernels (kludged around the "none" entries in 2000-06-26 10:45:52 +00:00
usleep.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
utility.c From Matt Kraai <kraai@alumni.carnegiemellon.edu>: 2000-07-10 16:44:03 +00:00
uudecode.c More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc 2000-07-09 06:59:58 +00:00
uuencode.c More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc 2000-07-09 06:59:58 +00:00
wc.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
which.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
whoami.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
yes.c Pavel fixed a segfault in yes. 2000-06-02 17:51:39 +00:00

Please see the LICENSE file for copyright information.
    
BusyBox combines tiny versions of many common UNIX utilities into a single
small executable. It provides minimalist replacements for most of the utilities
you usually find in fileutils, shellutils, findutils, textutils, grep, gzip,
tar, etc. BusyBox provides a fairly complete POSIX environment for any small or
emdedded system. The utilities in BusyBox generally have fewer options then
their full featured GNU cousins; however, the options that are included provide
the expected functionality and behave very much like their GNU counterparts.

BusyBox has been written with size-optimization and limited resources in mind.
It is also extremely modular so you can easily include or exclude commands (or
features) at compile time. This makes it easy to customize your embedded
systems. To create a working system, just add a kernel, a shell (such as ash),
and an editor (such as elvis-tiny or ae).

Busybox was originally written to support the Debian Rescue/Install disks, but
it also makes an excellent environment for any small or embedded system.

As of version 0.20 there is a version number. : ) Also as of version 0.20,
BusyBox is now modularized to easily allow you to build only the components you
need, thereby reducing binary size. To turn off unwanted Busybox components,
simply edit the file busybox.def.h and comment out the components you do not
need using C++ style (//) comments.

After the build is complete a busybox.links file is generated which is then
used by 'make install' to create symlinks to the busybox binary for all
compiled in functions.  By default, 'make install' will place the symlink
forest into `pwd`/_install unless you have defined the PREFIX environment
variable (i.e. make PREFIX="/tmp/foo" install)

----------------
Getting help:
When you find you need help, you can check out the BusyBox mailing list
archives at http://opensource.lineo.com/lists/busybox/ or even join
the mailing list if you are interested.

----------------
Bugs:
If you find bugs, follow the instructions at http://bugs.lineo.com/Reporting.html
and submit a bug report.  This way, we can be sure nothing falls through the 
cracks...

----------------
FTP:
Source for the latest released version can always be downloaded from 
    ftp://ftp.lineo.com/pub/busybox. 

----------------
CVS:
BusyBox now has its own publically browsable CVS tree at:
    http://opensource.lineo.com/cgi-bin/cvsweb/busybox/

Anonymous CVS access is available.  For instructions, check out:
    http://opensource.lineo.com/cvs_anon.html

For those that are actively contributing there is even CVS write access:
    http://opensource.lineo.com/cvs_write.html


----------------

Please feed suggestions, bug reports, insults, and bribes back to:
	Erik Andersen 
	<andersen@lineo.com>
	<andersee@debian.org>

<blatent plug>
Many thanks to go to Lineo for paying me to work on busybox. 
</blatent plug>