OESF Portables Forum
General Forums => General Discussion => Topic started by: Antikx on November 16, 2005, 03:22:03 pm
-
I came across this application and thought I would throw it out there:
http://www.busybox.net/about.html (http://www.busybox.net/about.html)
Info:
"BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts. BusyBox provides a fairly complete environment for any small or embedded system.
BusyBox has been written with size-optimization and limited resources in mind. It is also extremely modular so you can easily include or exclude commands (or features) at compile time. This makes it easy to customize your embedded systems. To create a working system, just add some device nodes in /dev, a few configuration files in /etc, and a Linux kernel."
-
I came across this application and thought I would throw it out there:
http://www.busybox.net/about.html (http://www.busybox.net/about.html)
Info:
"BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts. BusyBox provides a fairly complete environment for any small or embedded system.
BusyBox has been written with size-optimization and limited resources in mind. It is also extremely modular so you can easily include or exclude commands (or features) at compile time. This makes it easy to customize your embedded systems. To create a working system, just add some device nodes in /dev, a few configuration files in /etc, and a Linux kernel."
[div align=\"right\"][a href=\"index.php?act=findpost&pid=103939\"][{POST_SNAPBACK}][/a][/div]
If I am not mistaken, Busybox is part of the Zaurus ROM. At least some messages indicated this ( for example, I wanted to use tar to compress, and I got a message saying that the tar version in Busybox cannot be used to compress, only to expand)
-
yep busybox is already implemented in the sharproms. I'm not sure about OZ or pdaxrom (I just started with that one). Actually it has been used since the beginning of linux zaurus.
-
BTW I think some linux dists use busybox for faster boot times or more functionality in single user mode (very tiny footprint too).
-
Yes, busybox is already included in Sharp ROM (the stock one is v0.64, and there is a v1.00 package available to download) and pdaXrom (v1.01). Dunno exactly about the differences among the old versions and the new ones, but at least the tar in the busybox in pdaXrom can create, while i can't get it done in Sharp rom even though v1.00 is installed with the same message:
tar: Creation of compressed not internally by tar, pipe to busybox gunzip
-
Both my C3000 and C3100 can tar and untar files using the build-in busybox. I tried to upgrade to busybox 1.0 once, but it failed and I couldn't be bothered to try again :-) since the 0.6 version that ships with Sharp ROM works sufficiently.
-
Both my C3000 and C3100 can tar and untar files using the build-in busybox. I tried to upgrade to busybox 1.0 once, but it failed and I couldn't be bothered to try again :-) since the 0.6 version that ships with Sharp ROM works sufficiently.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=103957\"][{POST_SNAPBACK}][/a][/div]
Sorry I should've said 'cannot tar and compress' instead of 'cannot create'. Still typing tar --help the Sharp rom one shows fewer options than the one in pdaXrom...?
-
Both my C3000 and C3100 can tar and untar files using the build-in busybox. I tried to upgrade to busybox 1.0 once, but it failed and I couldn't be bothered to try again :-) since the 0.6 version that ships with Sharp ROM works sufficiently.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=103957\"][{POST_SNAPBACK}][/a][/div]
Sorry I should've said 'cannot tar and compress' instead of 'cannot create'. Still typing tar --help the Sharp rom one shows fewer options than the one in pdaXrom...?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=103963\"][{POST_SNAPBACK}][/a][/div]
alias gztar `tar cf - $2 | gzip - > $1`
-
Yes, busybox is already included in Sharp ROM (the stock one is v0.64, and there is a v1.00 package available to download) and pdaXrom (v1.01). Dunno exactly about the differences among the old versions and the new ones, but at least the tar in the busybox in pdaXrom can create, while i can't get it done in Sharp rom even though v1.00 is installed with the same message:
tar: Creation of compressed not internally by tar, pipe to busybox gunzip
[div align=\"right\"][a href=\"index.php?act=findpost&pid=103955\"][{POST_SNAPBACK}][/a][/div]
It depends on the options used when configuring busybox.
# busybox tar --help
BusyBox v1.01 (2005.11.17-05:41+0000) multi-call binary
Usage: tar -[czjZxtvO] [-f TARFILE] [-C DIR] [FILE(s)] ...
Create, extract, or list files from a tar file.
Options:
c create
x extract
t list
Archive format selection:
z Filter the archive through gzip
j Filter the archive through bzip2
Z Filter the archive through compress
File selection:
f name of TARFILE or "-" for stdin
O extract to stdout
C change to directory DIR before operation
v verbosely list files processed
This version does what you want, although you could just install a good version of tar too.
This version of busybox was built with the stock sharp rom on my 6k. I don't plan to add this to my feed as I really don't have time to test all the stuff this includes but I will make it available if anyone wants to give it a try.
John
-
I tried to upgrade busybox to 1.0 in Cacko 1.22, but we run into multiple compatibility problems, mostly with Sharp colsed source applications.
-
Hello
I encountered similar problems in guylhem-rom - I tried to used busybox 1.01 and I've had many issues. The unresolved issue is with user support for ping and mount (suid support), I'm trying to debug them but they seem more complicated than I first thought. Meanwhile I fixed the tar/ipkg problems.
Could you please tell me your bugs? I'll be happy to help you fix them if I can.
Maybe we could work together on the text tools fixes? I'm quite confident my "text mode" support is mostly fine. The GUI however is another story :-)
Guylhem
-
Hello
I encountered similar problems in guylhem-rom - I tried to used busybox 1.01 and I've had many issues. The unresolved issue is with user support for ping and mount (suid support), I'm trying to debug them but they seem more complicated than I first thought. Meanwhile I fixed the tar/ipkg problems.
Could you please tell me your bugs? I'll be happy to help you fix them if I can.
Maybe we could work together on the text tools fixes? I'm quite confident my "text mode" support is mostly fine. The GUI however is another story :-)
Guylhem
[div align=\"right\"][a href=\"index.php?act=findpost&pid=104009\"][{POST_SNAPBACK}][/a][/div]
It's been more than a year ago I hardly rememeber all the details, but most oustanding issues were related to tar incompatibility with GNU tar. Sharp applications depend on current busybox behaviour, so I gave up finally after spending a few weeks trying to integrate 1.0 into the ROM.
-
Hello
So I think I can help, since I added GNU tar like options to busybox. I'll send you a copy of my busybox 1.01. Please tell me if you have any issues besies mount/ping
Guylhem
-
Hello
So I think I can help, since I added GNU tar like options to busybox. I'll send you a copy of my busybox 1.01. Please tell me if you have any issues besies mount/ping
Guylhem
[div align=\"right\"][a href=\"index.php?act=findpost&pid=104066\"][{POST_SNAPBACK}][/a][/div]
Did you include rdate? That would need a patch too I expect.
John
-
Hello
So I think I can help, since I added GNU tar like options to busybox. I'll send you a copy of my busybox 1.01. Please tell me if you have any issues besies mount/ping
Guylhem
[div align=\"right\"][a href=\"index.php?act=findpost&pid=104066\"][{POST_SNAPBACK}][/a][/div]
I can't tell when I'm going to work on the next ROM version. And updating busybox will most likely requrie a ROM to be released. I'm not sure I'll be able to produce a reliable hotfix with such a major change.