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 | |
Erik Andersen | 10c341a | 1999-12-17 18:52:06 +0000 | [diff] [blame] | 18 | * Make insmod actually work |
Eric Andersen | 485b955 | 1999-12-07 23:14:59 +0000 | [diff] [blame] | 19 | * dnsdomainname |
Erik Andersen | 9ffdaa6 | 2000-02-11 21:55:04 +0000 | [diff] [blame] | 20 | * traceroute/netstat |
Eric Andersen | b186d98 | 1999-12-03 09:19:54 +0000 | [diff] [blame] | 21 | * rdate |
| 22 | * hwclock |
Eric Andersen | b186d98 | 1999-12-03 09:19:54 +0000 | [diff] [blame] | 23 | * stty |
Erik Andersen | e272915 | 2000-02-18 21:34:17 +0000 | [diff] [blame] | 24 | * cut |
Erik Andersen | 0817d13 | 2000-04-09 15:17:40 +0000 | [diff] [blame] | 25 | * expr |
Eric Andersen | b186d98 | 1999-12-03 09:19:54 +0000 | [diff] [blame] | 26 | |
Erik Andersen | fac10d7 | 2000-02-07 05:29:42 +0000 | [diff] [blame] | 27 | |
| 28 | |
Erik Andersen | e272915 | 2000-02-18 21:34:17 +0000 | [diff] [blame] | 29 | ----------------------- |
| 30 | |
Erik Andersen | 7c4b2f3 | 2000-02-29 21:49:22 +0000 | [diff] [blame] | 31 | Compile with debugging on, run 'nm --size-sort ./busybox' |
| 32 | and then start with the biggest things and make them smaller... |
| 33 | |
| 34 | |
| 35 | ----------------------- |
| 36 | |
Erik Andersen | e272915 | 2000-02-18 21:34:17 +0000 | [diff] [blame] | 37 | |
| 38 | busybox.defs.h is too big and hard to follow. |
| 39 | |
Erik Andersen | 5661fe0 | 2000-04-05 01:00:52 +0000 | [diff] [blame] | 40 | Perhaps I need to add a better build system (like the Linux kernel?) |
Erik Andersen | e272915 | 2000-02-18 21:34:17 +0000 | [diff] [blame] | 41 | |
| 42 | ----------------------- |
| 43 | |
| 44 | |
Erik Andersen | 27fdd08 | 2000-02-19 18:16:49 +0000 | [diff] [blame] | 45 | Feature request: |
| 46 | |
| 47 | /bin/busybox --install -s which makes all links to commands that it |
| 48 | can support (an optionnal -s should be used for symbolic links instead |
| 49 | of hard links). |
| 50 | |
Erik Andersen | 3b9522f | 2000-02-22 17:12:00 +0000 | [diff] [blame] | 51 | |
| 52 | ----------------------- |
| 53 | |
| 54 | |
| 55 | > Have you ever thought of doig network logging in busybox syslogd ? It |
| 56 | > would quite make sense on embedded systems... :) |
| 57 | |
| 58 | So far I had not considered it. Basically, you wish to have |
| 59 | messages from the embedded box logged to a remote network |
| 60 | syslog box, right? I can see that this would be useful. |
| 61 | I'll add this to the TODO list, |
| 62 | |
Erik Andersen | 029011b | 2000-03-04 21:19:32 +0000 | [diff] [blame] | 63 | |
| 64 | ----------------------- |
| 65 | |
| 66 | |
Erik Andersen | 029011b | 2000-03-04 21:19:32 +0000 | [diff] [blame] | 67 | I think that the add_inode &c in utility.c needs to also stow the |
| 68 | st_dev field, and that du.c should NOT call `reset_inode_list' |
| 69 | because there can be hard links from inside one argv/ to inside |
| 70 | another argv/. du.c probably ought to have an -x switch like GNU du |
| 71 | does also... |
| 72 | |
| 73 | |
Erik Andersen | 298854f | 2000-03-23 01:09:18 +0000 | [diff] [blame] | 74 | ------------------------------------------------------------------ |
| 75 | |
| 76 | |
| 77 | Date: Fri, 25 Feb 2000 08:23:12 +0000 (GMT) |
| 78 | From: Riley Williams <rhw@MemAlpha.CX> |
| 79 | X-Sender: rhw@moo.cus.org.uk |
| 80 | To: almesber@lrc.di.epfl.ch |
| 81 | Cc: "Albert D. Cahalan" <acahalan@cs.uml.edu>, |
| 82 | Linux Kernel <linux-kernel@vger.rutgers.edu> |
| 83 | Subject: Re: What /proc should contain [was: /proc/driver/microcode] |
| 84 | In-Reply-To: <20000224165245.A29790@lrc.di.epfl.ch> |
| 85 | Message-ID: <Pine.LNX.4.21.0002250806220.8741-100000@moo.cus.org.uk> |
| 86 | Sender: owner-linux-kernel@vger.rutgers.edu |
| 87 | Precedence: bulk |
| 88 | |
| 89 | Hi there. |
| 90 | |
| 91 | >> Nope, most /proc access is does via programs written in C. |
| 92 | |
| 93 | > That varies a lot from file to file. E.g. I haven't seen any |
| 94 | > programs that are specificly designed to read /proc/atm/* yet, |
| 95 | > and I know of only one (fuser) that reads /proc/mounts, |
| 96 | > extracting only partial information (just to pick two examples |
| 97 | > that I'm quite familiar with). |
| 98 | |
| 99 | As a point of reference, here's a slightly tweaked analysis of the |
| 100 | programs on the system I'm reading your mail on. Basically, I ran the |
| 101 | following script... |
| 102 | |
| 103 | Q> #!/bin/bash |
| 104 | Q> function use() { |
| 105 | Q> for Z in $* ; do |
| 106 | Q> strings $Z | grep /proc | sed "s=^=$Z =" |
| 107 | Q> done |
| 108 | Q> } |
| 109 | Q> use /{,s}bin/* /usr/{,s}bin/* | sort -u | tee proc-usage |
| 110 | |
| 111 | ...and then went through it removing comments and print format |
| 112 | strings. Replace /proc with /dev and you'd soon have an equivalent |
| 113 | list for that - although I can report that such is MUCH larger... |
| 114 | |
| 115 | There are three programs therein that refer to /proc/mounts ... |
| 116 | |
| 117 | /bin/mount |
| 118 | /bin/umount |
| 119 | /usr/bin/eject |
| 120 | |
| 121 | ...and, as you stated, none that refer to /proc/atm on this system. |
| 122 | However, as this is a RedHat Linux 5.0 based system, that's not |
| 123 | necessarily an up to date reference thereto... |
| 124 | |
| 125 | Here's the list anyway... |
| 126 | |
| 127 | /bin/kill /proc/%d/cmdline |
| 128 | /bin/kill /proc/%d/stat |
| 129 | |
| 130 | /bin/mount /proc/devices |
| 131 | /bin/mount /proc/filesystems |
| 132 | /bin/mount /proc/mounts |
| 133 | |
| 134 | /bin/netstat /proc/net |
| 135 | /bin/netstat /proc/net/appletalk |
| 136 | /bin/netstat /proc/net/ax25 |
| 137 | /bin/netstat /proc/net/ax25_route |
| 138 | /bin/netstat /proc/net/dev |
| 139 | /bin/netstat /proc/net/ip_masquerade |
| 140 | /bin/netstat /proc/net/ipx |
| 141 | /bin/netstat /proc/net/ipx_route |
| 142 | /bin/netstat /proc/net/netstat |
| 143 | /bin/netstat /proc/net/nr |
| 144 | /bin/netstat /proc/net/nr_neigh |
| 145 | /bin/netstat /proc/net/nr_nodes |
| 146 | /bin/netstat /proc/net/raw |
| 147 | /bin/netstat /proc/net/route |
| 148 | /bin/netstat /proc/net/rt_cache |
| 149 | /bin/netstat /proc/net/snmp |
| 150 | /bin/netstat /proc/net/tcp |
| 151 | /bin/netstat /proc/net/udp |
| 152 | /bin/netstat /proc/net/unix |
| 153 | |
| 154 | /bin/umount /proc/devices |
| 155 | /bin/umount /proc/mounts |
| 156 | |
| 157 | /sbin/arp /proc/net/appletalk |
| 158 | /sbin/arp /proc/net/arp |
| 159 | /sbin/arp /proc/net/ax25 |
| 160 | /sbin/arp /proc/net/ipx |
| 161 | /sbin/arp /proc/net/nr |
| 162 | /sbin/arp /proc/net/unix |
| 163 | |
| 164 | /sbin/cardctl /proc/devices |
| 165 | |
| 166 | /sbin/cardmgr /proc/devices |
| 167 | |
| 168 | /sbin/fdisk /proc/ide/%s/media |
| 169 | /sbin/fdisk /proc/scsi/scsi |
| 170 | |
| 171 | /sbin/getty /proc/version |
| 172 | |
| 173 | /sbin/ifconfig /proc/net |
| 174 | /sbin/ifconfig /proc/net/appletalk |
| 175 | /sbin/ifconfig /proc/net/ax25 |
| 176 | /sbin/ifconfig /proc/net/dev |
| 177 | /sbin/ifconfig /proc/net/ipx |
| 178 | /sbin/ifconfig /proc/net/nr |
| 179 | /sbin/ifconfig /proc/net/unix |
| 180 | |
| 181 | /sbin/ifup /proc/sys/kernel/modprobe |
| 182 | |
| 183 | /sbin/ipchains /proc/net/ip_fwchains |
| 184 | /sbin/ipchains /proc/net/ip_fwnames |
| 185 | /sbin/ipchains /proc/net/ip_masquerade |
| 186 | /sbin/ipchains /proc/sys/net/ipv4/ip_forward |
| 187 | |
| 188 | /sbin/ipmaddr /proc/net/dev_mcast |
| 189 | /sbin/ipmaddr /proc/net/igmp |
| 190 | /sbin/ipmaddr /proc/net/igmp6 |
| 191 | |
| 192 | /sbin/iptunnel /proc/net/dev |
| 193 | |
| 194 | /sbin/killall5 /proc/%s/cmdline |
| 195 | /sbin/killall5 /proc/%s/exe |
| 196 | /sbin/killall5 /proc/%s/stat |
| 197 | /sbin/killall5 /proc/version |
| 198 | |
| 199 | /sbin/klogd /proc/kmsg |
| 200 | |
| 201 | /sbin/lsmod /proc/modules |
| 202 | |
| 203 | /sbin/modprobe /proc/modules |
| 204 | |
| 205 | /sbin/pidof /proc/%s/cmdline |
| 206 | /sbin/pidof /proc/%s/exe |
| 207 | /sbin/pidof /proc/%s/stat |
| 208 | /sbin/pidof /proc/version |
| 209 | |
| 210 | /sbin/probe /proc/pci |
| 211 | |
| 212 | /sbin/rarp /proc/net/ax25 |
| 213 | /sbin/rarp /proc/net/nr |
| 214 | /sbin/rarp /proc/net/rarp |
| 215 | |
| 216 | /sbin/rmmod /proc/modules |
| 217 | |
| 218 | /sbin/rmmod.static /proc/modules |
| 219 | |
| 220 | /sbin/route /proc/net/appletalk |
| 221 | /sbin/route /proc/net/ax25 |
| 222 | /sbin/route /proc/net/ax25_route |
| 223 | /sbin/route /proc/net/ipx |
| 224 | /sbin/route /proc/net/ipx_route |
| 225 | /sbin/route /proc/net/nr |
| 226 | /sbin/route /proc/net/nr_neigh |
| 227 | /sbin/route /proc/net/nr_nodes |
| 228 | /sbin/route /proc/net/route |
| 229 | /sbin/route /proc/net/rt_cache |
| 230 | /sbin/route /proc/net/unix |
| 231 | |
| 232 | /sbin/scsi_info /proc/scsi |
| 233 | /sbin/scsi_info /proc/scsi/%s |
| 234 | /sbin/scsi_info /proc/scsi/scsi |
| 235 | |
| 236 | /sbin/slattach /proc/net/ax25 |
| 237 | /sbin/slattach /proc/net/nr |
| 238 | |
| 239 | /sbin/swapoff /proc/swaps |
| 240 | |
| 241 | /sbin/swapon /proc/swaps |
| 242 | |
| 243 | /sbin/uugetty /proc/version |
| 244 | |
| 245 | /usr/bin/dig /proc/ |
| 246 | /usr/bin/dig /proc/interrupts |
| 247 | /usr/bin/dig /proc/meminfo |
| 248 | /usr/bin/dig /proc/rtc |
| 249 | /usr/bin/dig /proc/self/status |
| 250 | /usr/bin/dig /proc/stat |
| 251 | |
| 252 | /usr/bin/dnsquery /proc/ |
| 253 | /usr/bin/dnsquery /proc/interrupts |
| 254 | /usr/bin/dnsquery /proc/meminfo |
| 255 | /usr/bin/dnsquery /proc/rtc |
| 256 | /usr/bin/dnsquery /proc/self/status |
| 257 | /usr/bin/dnsquery /proc/stat |
| 258 | |
| 259 | /usr/bin/eject /proc/mounts |
| 260 | |
| 261 | /usr/bin/emacs /proc/loadavg |
| 262 | |
| 263 | /usr/bin/fetchmail /proc/net/dev |
| 264 | |
| 265 | /usr/bin/free /proc/meminfo |
| 266 | |
| 267 | /usr/bin/gmake /proc/loadavg |
| 268 | |
| 269 | /usr/bin/gpm-root /proc/loadavg |
| 270 | /usr/bin/gpm-root /proc/meminfo |
| 271 | |
| 272 | /usr/bin/host /proc/ |
| 273 | /usr/bin/host /proc/interrupts |
| 274 | /usr/bin/host /proc/meminfo |
| 275 | /usr/bin/host /proc/rtc |
| 276 | /usr/bin/host /proc/self/status |
| 277 | /usr/bin/host /proc/stat |
| 278 | |
| 279 | /usr/bin/hoststat /proc/loadavg |
| 280 | |
| 281 | /usr/bin/hwdiag /proc/cpuinfo |
| 282 | /usr/bin/hwdiag /proc/pci |
| 283 | /usr/bin/hwdiag /proc/scsi/scsi |
| 284 | /usr/bin/hwdiag /proc/version |
| 285 | |
| 286 | /usr/bin/lsdev /proc/dma |
| 287 | /usr/bin/lsdev /proc/interrupts |
| 288 | /usr/bin/lsdev /proc/ioports |
| 289 | |
| 290 | /usr/bin/mailq /proc/loadavg |
| 291 | |
| 292 | /usr/bin/make /proc/loadavg |
| 293 | |
| 294 | /usr/bin/mcookie /proc/loadavg |
| 295 | /usr/bin/mcookie /proc/stat |
| 296 | |
| 297 | /usr/bin/newaliases /proc/loadavg |
| 298 | |
| 299 | /usr/bin/nslookup /proc/ |
| 300 | /usr/bin/nslookup /proc/interrupts |
| 301 | /usr/bin/nslookup /proc/meminfo |
| 302 | /usr/bin/nslookup /proc/rtc |
| 303 | /usr/bin/nslookup /proc/self/status |
| 304 | /usr/bin/nslookup /proc/stat |
| 305 | |
| 306 | /usr/bin/nsupdate /proc/ |
| 307 | /usr/bin/nsupdate /proc/interrupts |
| 308 | /usr/bin/nsupdate /proc/meminfo |
| 309 | /usr/bin/nsupdate /proc/rtc |
| 310 | /usr/bin/nsupdate /proc/self/status |
| 311 | /usr/bin/nsupdate /proc/stat |
| 312 | |
| 313 | /usr/bin/pgp /proc/version |
| 314 | /usr/bin/pgpe /proc/version |
| 315 | /usr/bin/pgpk /proc/version |
| 316 | /usr/bin/pgps /proc/version |
| 317 | /usr/bin/pgpv /proc/version |
| 318 | |
| 319 | /usr/bin/procinfo /proc/cmdline |
| 320 | /usr/bin/procinfo /proc/devices |
| 321 | /usr/bin/procinfo /proc/dma |
| 322 | /usr/bin/procinfo /proc/filesystems |
| 323 | /usr/bin/procinfo /proc/interrupts |
| 324 | /usr/bin/procinfo /proc/loadavg |
| 325 | /usr/bin/procinfo /proc/meminfo |
| 326 | /usr/bin/procinfo /proc/modules |
| 327 | /usr/bin/procinfo /proc/stat |
| 328 | /usr/bin/procinfo /proc/uptime |
| 329 | /usr/bin/procinfo /proc/version |
| 330 | |
| 331 | /usr/bin/purgestat /proc/loadavg |
| 332 | |
| 333 | /usr/bin/screen /proc/loadavg |
| 334 | |
| 335 | /usr/bin/strace /proc/%d/stat |
| 336 | |
| 337 | /usr/bin/top /proc/cpuinfo |
| 338 | /usr/bin/top /proc/meminfo |
| 339 | /usr/bin/top /proc/stat |
| 340 | |
| 341 | /usr/bin/vmstat /proc/%s/stat |
| 342 | /usr/bin/vmstat /proc/meminfo |
| 343 | /usr/bin/vmstat /proc/stat |
| 344 | |
| 345 | /usr/sbin/atd /proc/loadavg |
| 346 | |
| 347 | /usr/sbin/dnskeygen /proc/ |
| 348 | /usr/sbin/dnskeygen /proc/interrupts |
| 349 | /usr/sbin/dnskeygen /proc/meminfo |
| 350 | /usr/sbin/dnskeygen /proc/rtc |
| 351 | /usr/sbin/dnskeygen /proc/self/status |
| 352 | /usr/sbin/dnskeygen /proc/stat |
| 353 | |
| 354 | /usr/sbin/fuser /proc/%d/stat |
| 355 | /usr/sbin/fuser /proc/net/%s |
| 356 | /usr/sbin/fuser /proc/net/unix |
| 357 | |
| 358 | /usr/sbin/in.identd /proc/net/tcp |
| 359 | |
| 360 | /usr/sbin/irpd /proc/ |
| 361 | /usr/sbin/irpd /proc/interrupts |
| 362 | /usr/sbin/irpd /proc/meminfo |
| 363 | /usr/sbin/irpd /proc/rtc |
| 364 | /usr/sbin/irpd /proc/self/status |
| 365 | /usr/sbin/irpd /proc/stat |
| 366 | |
| 367 | /usr/sbin/named /proc/ |
| 368 | /usr/sbin/named /proc/interrupts |
| 369 | /usr/sbin/named /proc/meminfo |
| 370 | /usr/sbin/named /proc/rtc |
| 371 | /usr/sbin/named /proc/self/status |
| 372 | /usr/sbin/named /proc/stat |
| 373 | |
| 374 | /usr/sbin/named-xfer /proc/ |
| 375 | /usr/sbin/named-xfer /proc/interrupts |
| 376 | /usr/sbin/named-xfer /proc/meminfo |
| 377 | /usr/sbin/named-xfer /proc/rtc |
| 378 | /usr/sbin/named-xfer /proc/self/status |
| 379 | /usr/sbin/named-xfer /proc/stat |
| 380 | |
| 381 | /usr/sbin/readprofile /proc/profile |
| 382 | |
| 383 | /usr/sbin/rwhod /proc/loadavg |
| 384 | /usr/sbin/rwhod /proc/uptime |
| 385 | |
| 386 | /usr/sbin/sendmail /proc/loadavg |
| 387 | |
| 388 | /usr/sbin/setconsole /proc/openprom/options |
| 389 | /usr/sbin/setconsole /proc/openprom/options/${console}-mode |
| 390 | /usr/sbin/setconsole /proc/openprom/options/input-device |
| 391 | /usr/sbin/setconsole /proc/openprom/options/output-device |
| 392 | |
| 393 | Best wishes from Riley. |
| 394 | |
| 395 | * Copyright (C) 1999, Memory Alpha Systems. |
| 396 | * All rights and wrongs reserved. |
| 397 | |
| 398 | +----------------------------------------------------------------------+ |
| 399 | | There is something frustrating about the quality and speed of Linux | |
| 400 | | development, ie., the quality is too high and the speed is too high, | |
| 401 | | in other words, I can implement this XXXX feature, but I bet someone | |
| 402 | | else has already done so and is just about to release their patch. | |
| 403 | +----------------------------------------------------------------------+ |
| 404 | * http://www.memalpha.cx/Linux/Kernel/ |
| 405 | |
| 406 | |
| 407 | - |
| 408 | To unsubscribe from this list: send the line "unsubscribe linux-kernel" in |
| 409 | the body of a message to majordomo@vger.rutgers.edu |
| 410 | Please read the FAQ at http://www.tux.org/lkml/ |
| 411 | |