Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: removal of the mount_links (was: CVS commit: src/sbin)
On Sun, Jan 19, 2003 at 05:03:26PM +0100, Bernd Ernesti wrote:
| On Sun, Jan 19, 2003 at 12:49:13PM +0200, Jaromir Dolecek wrote:
| >
| > Module Name: src
| > Committed By: jdolecek
| > Date: Sun Jan 19 10:49:13 UTC 2003
| >
| > Modified Files:
| > src/sbin: Makefile
| > src/sbin/mount: Makefile mount.c
| >
| > Log Message:
| > do not link all mount programs into single image; the total size
| > difference isn't really that huge now that these are compiled as
| > dynamic
|
| I disagree here. On i386 thats an extra of 797096 bytes, which is a
| lot for small devices like flash cards.
Actually, the increase is < 100KB on i386 (not 780KB).
("du -c /sbin/mount*" reports "103" for the old way, versus "201"
after this change).
Also, if you're that concerned about disk space for such small systems,
use crunchgen; it's even more space efficient than shared libraries.
| And where was that discussed?
|
| IMHO we should go back to hardlinks.
This change seems fairly non-intrusive, makes the build of mount a bit
simpler, and probably makes it much easier to remove support for file
systems you don't need (rather than compiling support for every file
system into /sbin/mount). IIRC, Jaromir did the hacks to merge this
a couple of years ago to save 1.7MB of space in /sbin when we didn't
have a dynamically linked /sbin.
Luke.
Home |
Main Index |
Thread Index |
Old Index