From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 15 19:40:55 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84F92106564A for ; Wed, 15 Feb 2012 19:40:55 +0000 (UTC) (envelope-from ansarm@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5F2308FC16 for ; Wed, 15 Feb 2012 19:40:55 +0000 (UTC) Received: by daec6 with SMTP id c6so1403972dae.13 for ; Wed, 15 Feb 2012 11:40:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5SJbdoTsH7B7NP/YH6c1tuXD7f96ZofOVXLguLc8ev8=; b=cfg8ktim+++WRBMNOAgdd/NB0DlBCQulrhhit2pASSxD5WkG6si348q0kyqW8wdrWD 8BeD7HrvJ9Ra698C2CuVFhT5i1+vtn1T1WoDRc2eTp99kDxmHNJUG33dcry8FpmHLhj4 lqLMknDIN5MzGPZWKNtz/TD4D6I+vkCsbo9OQ= MIME-Version: 1.0 Received: by 10.68.211.74 with SMTP id na10mr1080853pbc.76.1329334854922; Wed, 15 Feb 2012 11:40:54 -0800 (PST) Received: by 10.68.23.74 with HTTP; Wed, 15 Feb 2012 11:40:54 -0800 (PST) In-Reply-To: <4f3c09d8.c922e50a.46ef.1eb1SMTPIN_ADDED@mx.google.com> References: <4f3c09d8.c922e50a.46ef.1eb1SMTPIN_ADDED@mx.google.com> Date: Wed, 15 Feb 2012 14:40:54 -0500 Message-ID: From: Ansar Mohammed To: Simon Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-hackers@freebsd.org" Subject: Re: nologin size X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2012 19:40:55 -0000 You are right. Fast catch :) On Wed, Feb 15, 2012 at 2:39 PM, Simon wrote: > > 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" >> >