數位天堂

Nokia:科技始終來自於人性; 拜耳:如果文明不能使我們更相愛,那科技便失去意義!
歡迎您的加入,讓我們一起討論科技與環保的整合應用...

您尚未登入。

#1 2008-08-02 21:19:50

ardayang
精靈
註冊日期: 2008-05-25
文章數: 104
目前積分 :   

建議安裝新版的busybox,安裝後指令會比較多,且豐富.

原先的版本是BusyBox v1.1.3 (2008.03.17-18:24+0000) multi-call binary
執行ipkg install busybox之後,版本是BusyBox v1.10.3 (2008-06-11 06:39:20 UTC) multi-call binary
指令會增加,如:find --help
指令會變強,如:top (顯示出來的資料會比較豐富)
不過新的mount會有問題,如:/opt/bin/mount會出現mount: no /etc/mtab,所以要用原本的/bin/mount
有興趣的請參考看看.




離線

 

#2 2008-09-04 20:45:50

NoBu
新生
註冊日期: 2008-07-02
文章數: 10
目前積分 :   

Re: 建議安裝新版的busybox,安裝後指令會比較多,且豐富.

很有用的資訊
有些在linux用得很習慣的指令或參數在原始Oleg的版本裡沒辦法用
更新busybox就OK了

謝謝分享資訊



離線

 

#3 2008-09-05 15:14:33

NoBu
新生
註冊日期: 2008-07-02
文章數: 10
目前積分 :   

Re: 建議安裝新版的busybox,安裝後指令會比較多,且豐富.

算了...試用了一下還是把它remove了
一些指令沒辦法用...會出現mount: no /etc/mtab  (df也不行)


離線

 

#4 2008-09-05 15:21:33

ardayang
精靈
註冊日期: 2008-05-25
文章數: 104
目前積分 :   

Re: 建議安裝新版的busybox,安裝後指令會比較多,且豐富.

NoBu 提到:

算了...試用了一下還是把它remove了
一些指令沒辦法用...會出現mount: no /etc/mtab  (df也不行)

mount 要鍵入 /bin/mount 才可以 ,如果有問題的,但/bin有的指今,就要輸入/bin/xxxx 完整路徑.


離線

 

#5 2010-02-11 01:40:45

hippo
天使
註冊日期: 2008-10-07
文章數: 1562
目前積分 :   20 

Re: 建議安裝新版的busybox,安裝後指令會比較多,且豐富.

BusyBox binary
# ./busybox-mipsel --help

BusyBox v1.16.0 (2010-02-06 05:15:27 CST) multi-call binary. Copyright (C) 1998-2009 Erik Andersen, Rob Landley, Denys Vlasenko 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: [, [[, acpid, addgroup, adduser, adjtimex, arp, arping, ash, awk, basename, bbconfig, beep, blkid, brctl, bunzip2, bzcat, bzip2, cal, cat, catv, chat, chattr, chgrp, chmod, chown, chpasswd, chpst, chroot, chrt, chvt, cksum, clear, cmp, comm, cp, cpio, crond, crontab, cryptpw, cttyhack, cut, date, dc, dd, deallocvt, delgroup, deluser, depmod, devmem, df, dhcprelay, diff, dirname, dmesg, dnsd, dnsdomainname, dos2unix, dpkg, dpkg-deb, du, dumpkmap, dumpleases, echo, ed, egrep, eject, env, envdir, envuidgid, ether-wake, expand, expr, fakeidentd, false, fbset, fbsplash, fdflush, fdformat, fdisk, fgrep, find, findfs, flashcp, fold, free, freeramdisk, fsck, fsck.minix, fsync, ftpd, ftpget, ftpput, fuser, getopt, getty, grep, gunzip, gzip, halt, hd, hdparm, head, hexdump, hostid, hostname, httpd, hush, hwclock, id, ifconfig, ifdown, ifenslave, ifplugd, ifup, inetd, init, insmod, install, ionice, ip, ipaddr, ipcalc, ipcrm, ipcs, iplink, iproute, iprule, iptunnel, kbd_mode, kill, killall, killall5, klogd, lash, last, length, less, linux32, linux64, linuxrc, ln, loadfont, loadkmap, logger, login, logname, logread, losetup, lpd, lpq, lpr, ls, lsattr, lsmod, lspci, lsusb, lzmacat, lzop, lzopcat, makedevs, makemime, man, md5sum, mdev, mesg, microcom, mkdir, mkdosfs, mkfifo, mkfs.minix, mkfs.reiser, mkfs.vfat, mknod, mkpasswd, mkswap, mktemp, modprobe, more, mount, mountpoint, msh, mt, mv, nameif, nc, netstat, nice, nmeter, nohup, nslookup, ntpd, od, openvt, passwd, pgrep, pidof, ping, ping6, pipe_progress, pivot_root, pkill, popmaildir, poweroff, printenv, printf, ps, pscan, pwd, raidautorun, rdate, rdev, readahead, readlink, readprofile, realpath, reboot, reformime, renice, reset, resize, rm, rmdir, rmmod, route, rpm, rpm2cpio, rtcwake, run-parts, runlevel, runsv, runsvdir, rx, script, scriptreplay, sed, sendmail, seq, setarch, setconsole, setfont, setkeycodes, setlogcons, setsid, setuidgid, sh, sha1sum, sha256sum, sha512sum, showkey, slattach, sleep, softlimit, sort, split, start-stop-daemon, stat, strings, stty, su, sulogin, sum, sv, svlogd, swapoff, swapon, switch_root, sync, sysctl, syslogd, tac, tail, tar, tcpsvd, tee, telnet, telnetd, test, tftp, tftpd, time, timeout, top, touch, tr, traceroute, traceroute6, true, tty, ttysize, tunctl, udhcpc, udhcpd, udpsvd, umount, uname, uncompress, unexpand, uniq, unix2dos, unlzma, unlzop, unzip, uptime, usleep, uudecode, uuencode, vconfig, vi, vlock, volname, wall, watch, watchdog, wc, wget, which, who, whoami, xargs, yes, zcat, zcip


使用方法參考USAGE. 例如:
# ./busybox-mipsel vi --help

BusyBox v1.16.0 (2010-02-06 05:15:27 CST) multi-call binary. Usage: vi [OPTIONS] [FILE]... Edit FILE Options: -c Initial command to run ($EXINIT also available) -R Read-only -H Short help regarding available features


執行
# ./busybox-mipsel vi

亦可將命令(applet)ln至/opt/usr/bin/(或其他), 再更改PATH.



離線

 

友情連結

論壇頁尾

Powered by PunBB
© Copyright 2018 Rickard Andersson
RSS Feed