From owner-freebsd-questions Wed Jun 19 0:48:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by hub.freebsd.org (Postfix) with ESMTP id B073337B405 for ; Wed, 19 Jun 2002 00:48:50 -0700 (PDT) Received: (qmail 7831 invoked from network); 19 Jun 2002 07:48:49 -0000 Received: from unknown (HELO LW100ERIK) ([216.27.142.210]) (envelope-sender ) by mail14.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 19 Jun 2002 07:48:49 -0000 Message-ID: <007d01c21765$4fe5ef40$d28e1bd8@LW100ERIK> From: "Erik Funkenbusch" To: Subject: size of /sbin/reboot Date: Wed, 19 Jun 2002 02:45:01 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I confess that I was taken a bit by surpise when I was digging around in my sbin directory and noticed that /sbin/reboot is around 230k in size. 230k? For a reboot command? A quick check of /usr/src/sbin/reboot shows that reboot.c is only 6k in size. Add to this that the file is copied to several other locations (ie, halt, fasthalt, etc..) and it's taking up a good chunk of disk space for what should be such a simple command. Anyone care to explain why the file is so large, and why it's copied rather than symlinked? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message