Subject: Re: CVS commit: src/sbin/umount
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: David Laight <david@l8s.co.uk>
List: source-changes
Date: 01/21/2006 11:35:33
On Sat, Jan 21, 2006 at 08:01:39PM +0900, Izumi Tsutsui wrote:
> > Set -DSMALL if SMALLPROG defined - ie building install ramdisk images.
> > Removes the code that uses rpc to query remote systems about nfs mounts.
> > The last references to the xdr routines escape - saving 64k+
> 
> Isn't it better to specify distrib/utils/x_umount in ramdisk-big/list?

How many times does it need to request the small version?
SMALLPROG is defined to cover the entire crunched binary.

Apart from the namespace issue, bsd.prog.mk could set -DSMALL.

I suspect that the x_umount (etc) programs exist from when crunchgen
tried to link the objects built as part of the normal build - rather
than using its own 'reach-over' make machinery.

If all x_umount does is set -DSMALL, I'm tempted to delete it.

	David

-- 
David Laight: david@l8s.co.uk