|
|
Subscribe / Log in / New account

Quotes of the week

Quotes of the week

Posted Mar 15, 2011 13:17 UTC (Tue) by foom (subscriber, #14868)
In reply to: Quotes of the week by nix
Parent article: Quotes of the week

The default debian initrd has all *sorts* of useful tools in it. There's certainly enough there to do basic troubleshooting and recovery (including vi!). It's 28MB as an unpacked directory tree, and 8.8MB in initrd form. That doesn't seem like a real issue...

/bin:
busybox cat chroot cpio dd dmesg false fstype gunzip gzip halt insmod ipconfig kill ln losetup ls minips mkdir mkfifo mknod mount nfsmount nuke pivot_root poweroff readlink reboot resume run-init sh sh.shared sleep sync true umount uname

/sbin:
blkid dmsetup modprobe rmmod udevadm udevd

Commands included in /bin/busybox:
[, [[, adjtimex, arping, ash, awk, basename, blockdev, brctl, bunzip2, bzcat, bzip2, cal, cat, chgrp, chmod, chown, chroot, chvt, clear, cmp, cp, cpio, cut, date, dc, dd, deallocvt, df, dirname, dmesg, dnsdomainname, dos2unix, du, dumpkmap, dumpleases, echo, egrep, env, expr, false, fgrep, find, fold, free, ftpget, ftpput, getopt, grep, gunzip, gzip, head, hexdump, hostid, hostname, httpd, id, ifconfig, ionice, ip, ipcalc, kill, killall, klogd, last, length, ln, loadfont, loadkmap, logger, logname, logread, losetup, ls, lzcat, lzma, md5sum, mkdir, mkfifo, mknod, mktemp, more, mount, mt, mv, nameif, nc, netstat, nslookup, od, openvt, patch, pidof, ping, ping6, printf, ps, pwd, rdate, readlink, realpath, renice, reset, rev, rm, rmdir, route, rpm, rpm2cpio, run-parts, sed, setkeycodes, sh, sha1sum, sha256sum, sha512sum, sleep, sort, start-stop-daemon, strings, stty, swapoff, swapon, sync, sysctl, syslogd, tac, tail, tar, tee, telnet, test, tftp, time, top, touch, tr, traceroute, traceroute6, true, tty, udhcpc, udhcpd, umount, uname, uncompress, uniq, unix2dos, unlzma, unxz, unzip, uptime, usleep, uudecode, uuencode, vi, watch, watchdog, wc, wget, which, who, whoami, xargs, xz, xzcat, yes, zcat


to post comments

Quotes of the week

Posted Mar 20, 2011 0:24 UTC (Sun) by daglwn (guest, #65432) [Link]

And none of it has documentation and --help is useless in busybox. An emergency is exactly when I need that stuff.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds