[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: net image full






> 
> insmod is not currently in the busybox-cvs-udeb package, but can be
> added, I don't know at what cost, but that gets rid of modutils-basic
> (90684 B).
> 
> busybox-cvs-udeb also has a few applets that I really don't understand
> why they are there, like telnet, chroot and telnetd! I don't know how
> much removing them shaves off of busybox.
> 
chroot is used in a bunch of code - the lilo, grub code etc install lilo
on /target then run chroot /target /sbin/lilo
similarly for a lot of prebaseconfig stuff. It could be removed from the
initial floppy, however.
chroot and telnet are useful for fixing problems with net: eg config
issues on the server - telnet in (ssh would be better, but too big) and
solve them, (eg adding an address to a bootp server), then proceed.

telnetd, I can't think of why thats there; was someone planning on doing
installs remotely via telnetting into the client from the server ???

We should also think of what we need for a _rescue_ environment : chroot
is useful there to fix lilo, etc.


> Replacing pump, dash and busybox with busybox-cvs got me down to -15k.
> Hopefully removing mkswap, swapon, swapoff, telnet, chroot and telnetd
> brings us up to positive again. ;) Unfortunately, udhcpc in busybox-cvs
> didn't seem to work. :/
> 
> 
> /Martin
-- 
Alastair McKinstry <mckinstry@computer.org>
GPG Key fingerprint = 9E64 E714 8E08 81F9 F3DC  1020 FA8E 3790 9051 38F4

He that would make his own liberty secure must guard even his enemy from
oppression; for if he violates this duty he establishes a precedent that
will reach to himself.

- --Thomas Paine

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: