blob: daa21cffdd4588f90b507cc99f5f825b5348eb85 [file] [log] [blame]
Eric Andersenb186d981999-12-03 09:19:54 +00001TODO list for busybox in no particular order. Just because something
2is listed here doesn't mean that it is going to be added to busybox,
3or that doing so is even a good idea. It just means that I _might_ get
4around to it some time. If you have any good ideas, please let me know.
Eric Andersen394f7641999-11-23 21:38:12 +00005
Erik Andersen1c5b2581999-12-16 20:59:36 +00006* 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 Andersen31638212000-01-15 22:28:50 +00009* 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 Andersenb186d981999-12-03 09:19:54 +000014 -Erik
15
16-----------
Eric Andersenbefda6e1999-11-25 08:06:22 +000017
Eric Andersen394f7641999-11-23 21:38:12 +000018* Allow tar to create archives with sockets, devices, and other special files
Erik Andersen10c341a1999-12-17 18:52:06 +000019* Make insmod actually work
Eric Andersen485b9551999-12-07 23:14:59 +000020* dnsdomainname
Erik Andersen9ffdaa62000-02-11 21:55:04 +000021* traceroute/netstat
Eric Andersenb186d981999-12-03 09:19:54 +000022* rdate
23* hwclock
Eric Andersenb186d981999-12-03 09:19:54 +000024* killall
Eric Andersenb186d981999-12-03 09:19:54 +000025* stty
Eric Andersenb186d981999-12-03 09:19:54 +000026* tr
Erik Andersene2729152000-02-18 21:34:17 +000027* cut
Eric Andersen2cb55071999-12-10 08:25:07 +000028* expr (maybe?) (ash builtin?)
Eric Andersenb186d981999-12-03 09:19:54 +000029
Erik Andersenfac10d72000-02-07 05:29:42 +000030
31
Erik Andersene2729152000-02-18 21:34:17 +000032-----------------------
33
Erik Andersen7c4b2f32000-02-29 21:49:22 +000034Compile with debugging on, run 'nm --size-sort ./busybox'
35and then start with the biggest things and make them smaller...
36
37
38-----------------------
39
Erik Andersene2729152000-02-18 21:34:17 +000040
41busybox.defs.h is too big and hard to follow.
42
43I either need to add a better build system (like the Linux kernel?)
44or I need to split up busybox.defs.h into coherent chunks (i.e.
45busybox.defs.h just has a bunch of:
46
47#include "fileutils.h"
48#include "shellutils.h"
49
50which would then have smaller sets of #defines...
51Hmm. Needs to be carefully thought out.
52
53-----------------------
54
55
Erik Andersenfac10d72000-02-07 05:29:42 +000056-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
61tar: Skipping to next file header
62tar: Skipping to next file header
63tar: Archive - EOF not on block boundary
64tar: 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
69it's a good idea for LRP.
70
71#2
72ctar did not produce the EOF error like your tar does. I believe you need to
73pad the end of the archive with at least 2 tarsized (512byte) blocks. (I
74think???)
75
76#3
77There is no exclude file(s) option to tar. LRP's packaging system can not
78function without this. Will you have the time to add this soon?
79
Erik Andersene2729152000-02-18 21:34:17 +000080
81-----------------------
82
Erik Andersene2729152000-02-18 21:34:17 +000083cd /mnt
84mkdir BACKUP
85mv * BACKUP
86
87Today, "mv" behaved as a cp -a and my disk becomed full. It does not
88work properly either when renaming a directory into something else
89(it produces a lot of disk activity when doing this).
90
91
Erik Andersen27fdd082000-02-19 18:16:49 +000092-----------------------
93
94
95Feature 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 Andersen3b9522f2000-02-22 17:12:00 +0000101
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
108So far I had not considered it. Basically, you wish to have
109messages from the embedded box logged to a remote network
110syslog box, right? I can see that this would be useful.
111I'll add this to the TODO list,
112
Erik Andersen029011b2000-03-04 21:19:32 +0000113
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