Eric Andersen | b186d98 | 1999-12-03 09:19:54 +0000 | [diff] [blame] | 1 | TODO list for busybox in no particular order. Just because something |
| 2 | is listed here doesn't mean that it is going to be added to busybox, |
| 3 | or that doing so is even a good idea. It just means that I _might_ get |
| 4 | around to it some time. If you have any good ideas, please let me know. |
Eric Andersen | 394f764 | 1999-11-23 21:38:12 +0000 | [diff] [blame] | 5 | |
Erik Andersen | 1c5b258 | 1999-12-16 20:59:36 +0000 | [diff] [blame] | 6 | * login/sulogin/passwd/getty/etc are part of tinylogin, and so are not |
| 7 | needed or wanted in busybox (or else I'd have to link in libcrypt). |
| 8 | |
Erik Andersen | 3163821 | 2000-01-15 22:28:50 +0000 | [diff] [blame] | 9 | * Networking apps are probably going to be split out some time soon into a |
| 10 | separate package (named perhaps tiny-netkit?). This currently includes |
| 11 | hostid, hostname, mnc, and ping. |
| 12 | |
| 13 | |
Eric Andersen | b186d98 | 1999-12-03 09:19:54 +0000 | [diff] [blame] | 14 | -Erik |
| 15 | |
| 16 | ----------- |
Eric Andersen | befda6e | 1999-11-25 08:06:22 +0000 | [diff] [blame] | 17 | |
Eric Andersen | 394f764 | 1999-11-23 21:38:12 +0000 | [diff] [blame] | 18 | * Allow tar to create archives with sockets, devices, and other special files |
Erik Andersen | 10c341a | 1999-12-17 18:52:06 +0000 | [diff] [blame] | 19 | * Make insmod actually work |
Eric Andersen | 485b955 | 1999-12-07 23:14:59 +0000 | [diff] [blame] | 20 | * dnsdomainname |
Erik Andersen | 9ffdaa6 | 2000-02-11 21:55:04 +0000 | [diff] [blame] | 21 | * traceroute/netstat |
Eric Andersen | b186d98 | 1999-12-03 09:19:54 +0000 | [diff] [blame] | 22 | * rdate |
| 23 | * hwclock |
Eric Andersen | b186d98 | 1999-12-03 09:19:54 +0000 | [diff] [blame] | 24 | * killall |
Eric Andersen | b186d98 | 1999-12-03 09:19:54 +0000 | [diff] [blame] | 25 | * stty |
Eric Andersen | b186d98 | 1999-12-03 09:19:54 +0000 | [diff] [blame] | 26 | * tr |
Erik Andersen | e272915 | 2000-02-18 21:34:17 +0000 | [diff] [blame] | 27 | * cut |
Eric Andersen | 2cb5507 | 1999-12-10 08:25:07 +0000 | [diff] [blame] | 28 | * expr (maybe?) (ash builtin?) |
Eric Andersen | b186d98 | 1999-12-03 09:19:54 +0000 | [diff] [blame] | 29 | |
Erik Andersen | fac10d7 | 2000-02-07 05:29:42 +0000 | [diff] [blame] | 30 | |
| 31 | |
Erik Andersen | e272915 | 2000-02-18 21:34:17 +0000 | [diff] [blame] | 32 | ----------------------- |
| 33 | |
Erik Andersen | 7c4b2f3 | 2000-02-29 21:49:22 +0000 | [diff] [blame] | 34 | Compile with debugging on, run 'nm --size-sort ./busybox' |
| 35 | and then start with the biggest things and make them smaller... |
| 36 | |
| 37 | |
| 38 | ----------------------- |
| 39 | |
Erik Andersen | e272915 | 2000-02-18 21:34:17 +0000 | [diff] [blame] | 40 | |
| 41 | busybox.defs.h is too big and hard to follow. |
| 42 | |
| 43 | I either need to add a better build system (like the Linux kernel?) |
| 44 | or I need to split up busybox.defs.h into coherent chunks (i.e. |
| 45 | busybox.defs.h just has a bunch of: |
| 46 | |
| 47 | #include "fileutils.h" |
| 48 | #include "shellutils.h" |
| 49 | |
| 50 | which would then have smaller sets of #defines... |
| 51 | Hmm. Needs to be carefully thought out. |
| 52 | |
| 53 | ----------------------- |
| 54 | |
| 55 | |
Erik Andersen | fac10d7 | 2000-02-07 05:29:42 +0000 | [diff] [blame] | 56 | -rw-r--r-- 1000/1000 4398 2000-01-06 21:55 uniq.c |
| 57 | -rw-r--r-- 1000/1000 1568 1999-10-20 18:08 update.c |
| 58 | -rw-r----- 0/1000 1168 2000-01-29 21:03 update.o |
| 59 | -rw-r--r-- 1000/1000 22820 2000-01-05 11:36 utility.c |
| 60 | -rw-r----- 0/1000 7372 2000-01-29 21:03 utility.o |
| 61 | tar: Skipping to next file header |
| 62 | tar: Skipping to next file header |
| 63 | tar: Archive - EOF not on block boundary |
| 64 | tar: Error is not recoverable: exiting now |
| 65 | |
| 66 | |
| 67 | #1 You are storing by id instead of name like normal tar. Did you realize this? |
| 68 | (or am I missing some compile option? )ctar did not do this, and I don't think |
| 69 | it's a good idea for LRP. |
| 70 | |
| 71 | #2 |
| 72 | ctar did not produce the EOF error like your tar does. I believe you need to |
| 73 | pad the end of the archive with at least 2 tarsized (512byte) blocks. (I |
| 74 | think???) |
| 75 | |
| 76 | #3 |
| 77 | There is no exclude file(s) option to tar. LRP's packaging system can not |
| 78 | function without this. Will you have the time to add this soon? |
| 79 | |
Erik Andersen | e272915 | 2000-02-18 21:34:17 +0000 | [diff] [blame] | 80 | |
| 81 | ----------------------- |
| 82 | |
Erik Andersen | e272915 | 2000-02-18 21:34:17 +0000 | [diff] [blame] | 83 | cd /mnt |
| 84 | mkdir BACKUP |
| 85 | mv * BACKUP |
| 86 | |
| 87 | Today, "mv" behaved as a cp -a and my disk becomed full. It does not |
| 88 | work properly either when renaming a directory into something else |
| 89 | (it produces a lot of disk activity when doing this). |
| 90 | |
| 91 | |
Erik Andersen | 27fdd08 | 2000-02-19 18:16:49 +0000 | [diff] [blame] | 92 | ----------------------- |
| 93 | |
| 94 | |
| 95 | Feature request: |
| 96 | |
| 97 | /bin/busybox --install -s which makes all links to commands that it |
| 98 | can support (an optionnal -s should be used for symbolic links instead |
| 99 | of hard links). |
| 100 | |
Erik Andersen | 3b9522f | 2000-02-22 17:12:00 +0000 | [diff] [blame] | 101 | |
| 102 | ----------------------- |
| 103 | |
| 104 | |
| 105 | > Have you ever thought of doig network logging in busybox syslogd ? It |
| 106 | > would quite make sense on embedded systems... :) |
| 107 | |
| 108 | So far I had not considered it. Basically, you wish to have |
| 109 | messages from the embedded box logged to a remote network |
| 110 | syslog box, right? I can see that this would be useful. |
| 111 | I'll add this to the TODO list, |
| 112 | |
Erik Andersen | 029011b | 2000-03-04 21:19:32 +0000 | [diff] [blame] | 113 | |
| 114 | ----------------------- |
| 115 | |
| 116 | |
| 117 | In utility.c:copyFile: It uses followLinks for both source and |
| 118 | destination files... is that right for `mv'? Will need to revisit |
| 119 | the GNU, freeBSD, and MINIX versions for this... Should read the |
| 120 | Unix98 and POSIX specs also. |
| 121 | |
| 122 | ----------------------- |
| 123 | |
| 124 | I think that the add_inode &c in utility.c needs to also stow the |
| 125 | st_dev field, and that du.c should NOT call `reset_inode_list' |
| 126 | because there can be hard links from inside one argv/ to inside |
| 127 | another argv/. du.c probably ought to have an -x switch like GNU du |
| 128 | does also... |
| 129 | |
| 130 | |