From owner-freebsd-questions@FreeBSD.ORG Sun Sep 7 06:48:38 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8B8692A4 for ; Sun, 7 Sep 2014 06:48:38 +0000 (UTC) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 4F56B19CA for ; Sun, 7 Sep 2014 06:48:38 +0000 (UTC) Received: from critter.freebsd.dk (unknown [192.168.60.3]) by phk.freebsd.dk (Postfix) with ESMTP id 049AB1578; Sun, 7 Sep 2014 06:48:36 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.9/8.14.9) with ESMTP id s876mX2k033812; Sun, 7 Sep 2014 06:48:36 GMT (envelope-from phk@phk.freebsd.dk) To: Ian Smith Subject: Re: Recreating the FreeBSD Installation Disks In-reply-to: <20140905190747.L58647@sola.nimnet.asn.au> From: "Poul-Henning Kamp" References: <20140905190747.L58647@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <33810.1410072513.1@critter.freebsd.dk> Date: Sun, 07 Sep 2014 06:48:33 +0000 Message-ID: <33811.1410072513@critter.freebsd.dk> Cc: Roland Smith , "Martin G. McCormick" , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2014 06:48:38 -0000 -------- In message <20140905190747.L58647@sola.nimnet.asn.au>, Ian Smith writes: >However with the .iso as /dev/md0 mounted on /mnt, the link counts do >_show_ eg '2' - but the files are shown as having unique inodes, which >might? be the way they appear on an actual DVD; I have no machine with a >DVD drive to test that theory. When you mount an .iso you use the CD9660 filesystem and I don't belive that supports hardlinks the way UFS/FFS does. CD9660 has two layers of naming, the native ISO format, and a "shim" layer which maps UNIX names to the native format ("Rock-Ridge" etc.) Depending on the software used to create the CD9660 filesystem, I belive it is common to store hardlinks as one native file, but to create a separate Rock-Ridge name for each hard-link. So even though these names share the same storage, they have different inode numbers. >Copying md(4)'s daddy phk@ for potential instant enlightenment :) md(4) has nothing to do with it at all, it's just a memory disk. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.