Date: Wed, 17 Oct 2012 18:39:23 -0700 From: Devin Teske <devin.teske@fisglobal.com> To: "Steve O'Hara-Smith" <ateve@sohara.org> Cc: Devin Teske <dteske@freebsd.org>, freebsd-questions@freebsd.org Subject: Re: MFS root filesystem and static binaries size Message-ID: <2A51EF1B-7274-439B-AF9D-AB116F9B4583@fisglobal.com> In-Reply-To: <20121017093006.11ef91b99dfafdeb3f2a28ed@sohara.org> References: <CAFDDX68DyV9ad9qfLWqAKmwVYOxYwBvdEKmFWU%2BnMpEurAvuig@mail.gmail.com> <79906B82-7EF3-44DD-95A1-EF1DD239E2CD@fisglobal.com> <20121017093006.11ef91b99dfafdeb3f2a28ed@sohara.org>
index | next in thread | previous in thread | raw e-mail
On Oct 17, 2012, at 1:30 AM, Steve O'Hara-Smith wrote: > On Tue, 16 Oct 2012 13:13:41 -0700 > Devin Teske <devin.teske@fisglobal.com> wrote: > >> When two files have the same inode, they are "hard links" to each other. >> Unlike a "soft link" (or "symbolic link" as they are more appropriately >> called), which stores a destination-path of the target, a hard link >> instead looks and acts no different than the original in every way. > > A better way of thinking about it (ie. closer to reality) is that > the inode entry is the file. When two directory entries both have the same > inode number in them they refer to the same file. Crunchgen produces a > file with a lot of names. > For clarity/record, crunchgen(1) itself does not generate the links. You technically don't have to link to boot_crunch at all, for example: /stand/boot_crunch ls Another example: /rescue/rescue vi HINT: /rescue/rescue is also a crunchgen(1)-produced binary, just like /stand/boot_crunch in the mfsroot. -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2A51EF1B-7274-439B-AF9D-AB116F9B4583>
