On Fri, February 8, 2008 2:18 pm, Lan Barnes wrote:
>
>
> OK, it's in /usr/lib/mindi/rootfs/usr/bin/../../bin/busybox on my FC 6
> box. It's /sbin/busybox on FC 4 here at work. Apparently needs you to link
> to it from a pathed dir by a name and then does the right thing depending
> on argv0.
>
> Usage: busybox [function] [arguments]...
>    or: [function] [arguments]...
>
>         BusyBox is a multi-call binary that combines many common Unix
>         utilities into a single executable.  Most people will create a
>         link to busybox for each function they wish to use and BusyBox
>         will act like whatever it was invoked as!
>
> Currently defined functions:
>         [, [[, ar, ash, awk, basename, busybox, cat, chgrp, chmod, chown,
> chroot, chvt, cksum, clear, cmp, cp, cpio, cut, date, dd, df,
> diff, dirname, dmesg,
>         dos2unix, du, echo, egrep, eject, env, expr, false, fdflush,
> fdformat, fgrep, find, free, freeramdisk, grep, gunzip, gzip,
> halt, head, hostname, hwclock,
>         id, ifconfig, insmod, ip, ipcalc, kill, killall, klogd, less, ln,
> loadkmap, logger, logread, losetup, ls, lsmod, lzmacat, md5sum,
> mesg, mkdir, mkfifo,
>         mknod, mkswap, mktemp, modprobe, more, mount, mt, mv, nameif, nc,
> netstat, nslookup, od, openvt, patch, pidof, ping, pipe_progress,
> pivot_root, poweroff,
>         ps, pwd, readlink, realpath, reboot, renice, reset, rm, rmdir,
> rmmod, route, sed, setkeycodes, sh, sha1sum, sleep, sort, strings,
> stty, swapoff, swapon,
>         sync, sysctl, syslogd, tail, tar, tee, telnet, test, tftp, top,
> touch, tr, traceroute, true, tty, udhcpc, umount, uname, uniq,
> unix2dos, unlzma, uptime,
>         vi, watch, watchdog, wc, wget, which, who, whoami, xargs, yes,
> zcat
>
>
>
> Thanks to both.
>

FWIW, I've decided that aliasing in /etc/bashrc is probably as viable and
possibly a better solution than links, as switches appear to be used to
show direction rather than argv0.

-- 
Lan Barnes

SCM Analyst              Linux Guy
Tcl/Tk Enthusiast        Biodiesel Brewer


-- 
KPLUG-List@kernel-panic.org
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to