Some updates for the day,
[oweals/busybox.git] / TODO
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.
5
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
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
14  -Erik
15
16 -----------
17
18 * Allow tar to create archives with sockets, devices, and other special files
19 * Make insmod actually work
20 * dnsdomainname
21 * traceroute/netstat
22 * rdate
23 * hwclock
24 * killall
25 * stty
26 * tr
27 * cut
28 * expr (maybe?)  (ash builtin?)
29
30
31
32 -----------------------
33
34
35 busybox.defs.h is too big and hard to follow.
36
37 I either need to add a better build system (like the Linux kernel?)
38 or I need to split up busybox.defs.h into coherent chunks (i.e.
39 busybox.defs.h just has a bunch of: 
40
41 #include "fileutils.h"
42 #include "shellutils.h"
43
44 which would then have smaller sets of #defines...
45 Hmm.  Needs to be carefully thought out.
46
47 -----------------------
48
49
50
51 Some known bugs, todo items, etc...
52
53 -----------------------
54
55
56 [andersen@slag busybox]$ ./busybox du /bin
57 6213    /bin
58 [andersen@slag busybox]$ du /bin
59 2971    /bin
60 [andersen@slag busybox]$ du --block-size=512 /bin
61 5943    /bin
62
63 -----------------------
64
65 -rw-r--r-- 1000/1000      4398 2000-01-06 21:55 uniq.c
66 -rw-r--r-- 1000/1000      1568 1999-10-20 18:08 update.c
67 -rw-r----- 0/1000         1168 2000-01-29 21:03 update.o
68 -rw-r--r-- 1000/1000     22820 2000-01-05 11:36 utility.c
69 -rw-r----- 0/1000         7372 2000-01-29 21:03 utility.o
70 tar: Skipping to next file header
71 tar: Skipping to next file header
72 tar: Archive - EOF not on block boundary
73 tar: Error is not recoverable: exiting now
74
75
76 #1 You are storing by id instead of name like normal tar. Did you realize this?
77 (or am I missing some compile option? )ctar did not do this, and I don't think
78 it's a good idea for LRP.
79
80 #2
81 ctar did not produce the EOF error like your tar does. I believe you need to
82 pad the end of the archive with at least 2 tarsized (512byte) blocks. (I
83 think???)
84
85 #3
86 There is no exclude file(s) option to tar. LRP's packaging system can not
87 function without this. Will you have the time to add this soon?
88
89
90 -----------------------
91
92
93 /bin/busybox --install -s    which makes all links to commands that it
94   can support (an optionnal -s should be used for symbolic links instead
95   of hard links).
96
97 -----------------------
98
99 cd /mnt
100 mkdir BACKUP
101 mv * BACKUP
102
103 Today, "mv" behaved as a cp -a and my disk becomed full. It does not
104 work properly either when renaming a directory into something else
105 (it produces a lot of disk activity when doing this).
106
107