Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2012 14:39:07 -0500
From:      "Simon" <simon@optinet.com>
To:        "Ansar Mohammed" <ansarm@gmail.com>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: nologin size
Message-ID:  <20120215200545.9386B106564A@hub.freebsd.org>
In-Reply-To: <CAOO1MfsEa2E-4afrcNrOCvA0SjXt%2BgOFeLMSnbeR-9=Gpv8ZVw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Haven't checked into it, but quick guess static vs dynamic, stripped vs not stripped,
check those first. You have likely compiled dynamic nologin.

-Simon

On Wed, 15 Feb 2012 14:28:54 -0500, Ansar Mohammed wrote:

>Hello all,
>I am trying to build a minimal size FreeBSD 9 installation and I
>noticed that the size of nologin is almost 200k.
>I built FreeBSD from source so I checked the distribution, and it's also 200k.
>So I went back to the source and just compiled nologin.c and it came up to 5k.

>Can anyone explain why this executable is so large?
>_______________________________________________
>freebsd-hackers@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120215200545.9386B106564A>