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