Bug#472382: busybox-static: sh doesn't have builtins for unix commands
Package: busybox-static
Severity: normal
Version: 1:1.9.1-3
Hello,
compared to version 1.1.3, version 1.9.1 has much fewer built-in functions.
In particular:
BusyBox v1.9.1 (2008-03-22 22:40:55 UTC) built-in shell (ash)
Enter 'help' for a list of built-in commands.
debian:/# help
Built-in commands:
-------------------
. : [ [[ alias bg break cd chdir command continue echo eval exec
exit export false fg getopts hash help jobs kill let local pwd
read readonly return set shift source test times trap true type
ulimit umask unalias unset wait
debian:/# cmd
/bin/sh: cmd: not found
as opposed to:
BusyBox v1.1.3 (Debian 1:1.1.3-5) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
debian:/# help
Built-in commands:
-------------------
. : alias bg break cd chdir command continue echo eval exec exit
export false fg getopts hash help jobs kill let local pwd read
readonly return set shift times trap true type ulimit umask unalias
unset wait [ [[ addgroup adduser adjtimex ar arping ash awk
basename
bunzip2 busybox bzcat cal cat chgrp chmod chown chroot chvt clear
cmp cp cpio crond crontab cut date dc dd deallocvt delgroup deluser
df dirname dmesg dos2unix dpkg dpkg-deb du dumpkmap dumpleases
echo egrep env expr false fbset fdflush fdisk fgrep find fold
free freeramdisk fsck.minix ftpget ftpput getopt getty grep gunzip
gzip halt head hexdump hostid hostname httpd hwclock id ifconfig
ifdown ifup init ip ipaddr ipcalc iplink iproute iptunnel kill
killall klogd last length linuxrc ln loadfont loadkmap logger
login logname logread losetup ls makedevs md5sum mesg mkdir mkfifo
mkfs.minix mknod mkswap mktemp more mount mt mv nameif nc netstat
nslookup od openvt passwd patch pidof ping ping6 pivot_root
poweroff
printf ps pwd rdate readlink realpath reboot renice reset rm
rmdir route rpm rpm2cpio run-parts sed setkeycodes sh sha1sum
sleep sort start-stop-daemon strings stty su sulogin swapoff
swapon sync syslogd tail tar tee telnet telnetd test tftp time
top touch tr traceroute true tty udhcpc udhcpd umount uname
uncompress
uniq unix2dos unzip uptime usleep uudecode uuencode vi vlock
watch watchdog wc wget which who whoami xargs yes zcat
debian:/# cmp
Using fallback suid method
BusyBox v1.1.3 (Debian 1:1.1.3-5) multi-call binary
Usage: cmp [-l] [-s] FILE1 [FILE2]
Compares FILE1 vs stdin if FILE2 is not specified.
Options:
-l Write the byte numbers (decimal) and values (octal)
for all differing bytes
-s quiet mode - do not print
Please note that this means scripts on initrd with busybox-static will not
work, unless there are symlinks for all the comamnds, which the
busybox-static package doesn't facilitate at all, unfortunately.
Regards
Jiri Palecek
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.24.3-test (PREEMPT)
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2) (ignored: LC_ALL
set to cs_CZ)
Shell: /bin/sh linked to /bin/dash
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Reply to: