From owner-freebsd-questions Wed Aug 7 18: 8:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA0BA37B400 for ; Wed, 7 Aug 2002 18:08:52 -0700 (PDT) Received: from c3po.artlogix.com (sense-mcglk-240.oz.net [216.39.168.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7511543E70 for ; Wed, 7 Aug 2002 18:08:52 -0700 (PDT) (envelope-from mcglk@artlogix.com) Received: from ralf.artlogix.com.artlogix.com (ralf.artlogix.com [192.168.0.4]) by c3po.artlogix.com (Postfix) with ESMTP id C065B1A978; Wed, 7 Aug 2002 18:08:51 -0700 (PDT) To: Peter Leftwich Cc: freebsd-questions@freebsd.org Subject: Re: Is simplicity despised? WAS: What do we need in a FreeBSD desktop? References: <20020807202345.H33423-100000@earl-grey.cloud9.net> From: Ken McGlothlen Date: 07 Aug 2002 18:09:07 -0700 In-Reply-To: <20020807202345.H33423-100000@earl-grey.cloud9.net> Message-ID: <86d6sujgwc.fsf@ralf.artlogix.com> Lines: 20 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Peter Leftwich writes: | On Wed, 7 Aug 2002, Matthew Seaman wrote: | > Ah, but on FreeBSD, less is more, more or less: | > happy-idiot-talk:~:% ls -lai /usr/bin/{more,less} | > 8199 -r-xr-xr-x 2 root wheel 85844 Aug 3 17:16 /usr/bin/less* | > 8199 -r-xr-xr-x 2 root wheel 85844 Aug 3 17:16 /usr/bin/more* | | [...] | | Sunuvva gun, that's cool - I wonder why they waste 85k of space instead of | just having a symlink ;-) not that a user can't do that themselves... They don't waste 85K. The files are identical. ls -i shows the inode number; that's the first column. The third column is "number of hard links that point to this inode." So there are only two different directory entries that point to the same file. Hard links are faster to resolve than symbolic links, and work just fine as long as all the directory entries are on the same filesystem. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message