Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
I've updated the busybox post to include an ipkg installer for busybox.
Then I did the following.
Code:
root@ereader:/media/cf# ipkg install busybox_1.7.2_ereader.ipk
Upgrading busybox on root from 1.01-r2 to 1.7.2...
Configuring busybox
Code:
/bin/busybox --install -s
Code:
busybox --help
BusyBox v1.7.2 (2007-10-30 12:45:14 EDT) multi-call binary
Copyright (C) 1998-2006 Erik Andersen, Rob Landley, and others.
Licensed under GPLv2. See source distribution for full notice.
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:
[, [[, addgroup, adduser, adjtimex, ar, arp, arping, ash,
awk, basename, bunzip2, bzcat, cal, cat, catv, chattr, chgrp,
chmod, chown, chpasswd, chpst, chroot, chrt, chvt, cksum,
clear, cmp, comm, cp, crond, crontab, cryptpw, cut, date,
dc, dd, deallocvt, delgroup, deluser, df, dhcprelay, diff,
dirname, dmesg, dnsd, dos2unix, dpkg, du, dumpkmap, dumpleases,
echo, ed, egrep, eject, env, envdir, envuidgid, ether-wake,
expand, expr, fakeidentd, false, fbset, fdflush, fdformat,
fdisk, fgrep, find, fold, free, freeramdisk, fsck, fsck.minix,
ftpget, ftpput, fuser, getopt, getty, grep, gunzip, gzip,
halt, hdparm, head, hexdump, hostid, hostname, httpd, hwclock,
id, ifconfig, ifdown, ifup, inetd, init, insmod, install,
ip, ipaddr, ipcalc, ipcrm, ipcs, iplink, iproute, iprule,
iptunnel, kill, killall, killall5, klogd, last, length, less,
linux32, linux64, linuxrc, ln, loadfont, loadkmap, logger,
login, logname, logread, losetup, ls, lsattr, lsmod, lzmacat,
makedevs, md5sum, mdev, mesg, mkdir, mkfifo, mkfs.minix,
mknod, mkswap, mktemp, modprobe, more, mount, mountpoint,
mt, mv, nameif, nc, netstat, nice, nmeter, nohup, nslookup,
od, openvt, passwd, patch, pidof, ping, ping6, pipe_progress,
pivot_root, poweroff, printenv, printf, ps, pscan, pwd, raidautorun,
rdate, readlink, readprofile, realpath, reboot, renice, reset,
resize, rm, rmdir, rmmod, route, run-parts, runlevel, runsv,
runsvdir, rx, sed, seq, setarch, setconsole, setkeycodes,
setlogcons, setsid, setuidgid, sh, sha1sum, slattach, sleep,
softlimit, sort, split, start-stop-daemon, stat, strings,
stty, su, sulogin, sum, sv, svlogd, swapoff, swapon, switch_root,
sync, sysctl, syslogd, tail, tar, tcpsvd, tee, telnet, telnetd,
test, tftp, time, top, touch, tr, traceroute, true, tty,
ttysize, udhcpc, udhcpd, udpsvd, umount, uname, uncompress,
unexpand, uniq, unix2dos, unlzma, unzip, uptime, usleep,
uudecode, uuencode, vconfig, vi, vlock, watch, watchdog,
wc, wget, which, who, whoami, xargs, yes, zcat, zcip
Code:
dd if=/dev/zero of=/media/cf/swpfile bs=1M count=64
Code:
root@ereader:/media/cf# ls -lah swpfile
-rwxr-xr-x 1 root root 64.0M Nov 9 12:53 swpfile
Code:
root@ereader:/media/cf# mkswap /media/cf/swpfile
Setting up swapspace version 1, size = 67104769 bytes
Code:
root@ereader:/media/cf# swapon /media/cf/swpfile
Code:
root@ereader:/proc# cat meminfo
total: used: free: shared: buffers: cached:
Mem: 64901120 63266816 1634304 0 1155072 37359616
Swap: 67100672 0 67100672
MemTotal: 63380 kB
MemFree: 1596 kB
MemShared: 0 kB
Buffers: 1128 kB
Cached: 36484 kB
SwapCached: 0 kB
Active: 10052 kB
Inactive: 39232 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 63380 kB
LowFree: 1596 kB
SwapTotal: 65528 kB
SwapFree: 65528 kB
|