
{"id":6386,"date":"2011-12-08T16:37:34","date_gmt":"2011-12-08T16:37:34","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=6386"},"modified":"2011-12-08T16:37:34","modified_gmt":"2011-12-08T16:37:34","slug":"busybox-the-swiss-army-knife-of-embedded-linux","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2011\/12\/08\/busybox-the-swiss-army-knife-of-embedded-linux\/","title":{"rendered":"BusyBox &#8211; The Swiss Army Knife of Embedded Linux"},"content":{"rendered":"<pre>\nUNIX Command \n\n$dpkg -L busybox\n\/.\n\/bin\n\/bin\/busybox\n\/usr\n\/usr\/share\n\/usr\/share\/man\n\/usr\/share\/man\/man1\n\/usr\/share\/man\/man1\/busybox.1.gz\n\/usr\/share\/doc\n\/usr\/share\/doc\/busybox\n\/usr\/share\/doc\/busybox\/copyright\n\/usr\/share\/doc\/busybox\/changelog.Debian.gz\n$mount\n\/dev\/sda1 on \/ type ext3 (rw,errors=remount-ro,commit=0)\ntmpfs on \/lib\/init\/rw type tmpfs (rw,nosuid,size=5242880,mode=755,size=5242880,mode=755)\ntmpfs on \/run type tmpfs (rw,noexec,nosuid,size=10%,mode=755,size=10%,mode=755)\nproc on \/proc type proc (rw,noexec,nosuid,nodev)\nsysfs on \/sys type sysfs (rw,noexec,nosuid,nodev)\nudev on \/dev type tmpfs (rw,mode=0755)\ntmpfs on \/run\/shm type tmpfs (rw,nosuid,nodev,size=20%,mode=1777,size=20%,mode=1777)\ndevpts on \/dev\/pts type devpts (rw,noexec,nosuid,gid=5,mode=620,gid=5,mode=620)\nfusectl on \/sys\/fs\/fuse\/connections type fusectl (rw)\nbinfmt_misc on \/proc\/sys\/fs\/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)\n$busybox mount\nrootfs on \/ type rootfs (rw)\nsysfs on \/sys type sysfs (rw,nosuid,nodev,noexec,relatime)\nproc on \/proc type proc (rw,nosuid,nodev,noexec,relatime)\nudev on \/dev type devtmpfs (rw,relatime,size=991460k,nr_inodes=2478100,mode=755)\ndevpts on \/dev\/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)\ntmpfs on \/run type tmpfs (rw,nosuid,noexec,relatime,size=199580k,mode=755)\n\/dev\/disk\/by-uuid\/26cca090-8a72-4443-859f-7a67b7188357 on \/ type ext3 (rw,relatime,errors=remount-ro,commit=5,barrier=1,data=ordered)\ntmpfs on \/lib\/init\/rw type tmpfs (rw,nosuid,relatime,size=5120k,mode=755)\ntmpfs on \/run\/shm type tmpfs (rw,nosuid,nodev,relatime,size=399156k)\nfusectl on \/sys\/fs\/fuse\/connections type fusectl (rw,relatime)\nbinfmt_misc on \/proc\/sys\/fs\/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)\n$\n\nUNIX Explanation\n\nBusyBox combines tiny versions of many common UNIX utilities into a\nsingle  small executable. It  provides minimalist  replacements for\nmost  of the  utilities you  usually find  in GNU  coreutils, util-\nlinux, etc.  The utilities in BusyBox generally  have fewer options\nthan their full-featured GNU cousins; however, the options that are\nincluded provide  the expected  functionality and behave  very much\nlike their GNU counterparts.\n\nWhy ?\n\n\nBusyBox  has  been   written  with  size-optimization  and  limited\nresources in mind.  It is  also extremely modular so you can easily\ninclude  or exclude commands  (or features)  at compile  time. This\nmakes  it easy  to customize  your  embedded systems.  To create  a\nworking system, just  add \/dev, \/etc, and a  Linux kernel.  BusyBox\nprovides  a fairly  complete  POSIX environment  for  any small  or\nembedded system.\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>UNIX Command $dpkg -L busybox \/. \/bin \/bin\/busybox \/usr \/usr\/share \/usr\/share\/man \/usr\/share\/man\/man1 \/usr\/share\/man\/man1\/busybox.1.gz \/usr\/share\/doc \/usr\/share\/doc\/busybox \/usr\/share\/doc\/busybox\/copyright \/usr\/share\/doc\/busybox\/changelog.Debian.gz $mount \/dev\/sda1 on \/ type ext3 (rw,errors=remount-ro,commit=0) tmpfs on \/lib\/init\/rw type tmpfs (rw,nosuid,size=5242880,mode=755,size=5242880,mode=755) tmpfs on \/run type tmpfs (rw,noexec,nosuid,size=10%,mode=755,size=10%,mode=755) proc on \/proc type proc (rw,noexec,nosuid,nodev) sysfs on \/sys type sysfs (rw,noexec,nosuid,nodev) udev on \/dev type tmpfs (rw,mode=0755) tmpfs &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2011\/12\/08\/busybox-the-swiss-army-knife-of-embedded-linux\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;BusyBox &#8211; The Swiss Army Knife of Embedded Linux&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[83],"tags":[510],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/6386"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=6386"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/6386\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=6386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=6386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=6386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}