From owner-freebsd-questions@FreeBSD.ORG Thu Aug 28 17:38:44 2014 Return-Path: Delivered-To: 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 D2E46BFA for ; Thu, 28 Aug 2014 17:38:44 +0000 (UTC) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 698D01785 for ; Thu, 28 Aug 2014 17:38:43 +0000 (UTC) Received: from slackbox.erewhon.home (slackbox.xs4all.nl [83.162.243.5]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id s7SHce5Y069193; Thu, 28 Aug 2014 19:38:41 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.home (Postfix, from userid 1001) id CE0901243A; Thu, 28 Aug 2014 19:38:40 +0200 (CEST) Date: Thu, 28 Aug 2014 19:38:40 +0200 From: Roland Smith To: "Martin G. McCormick" Subject: Re: Recreating the FreeBSD Installation Disks Message-ID: <20140828173840.GA7912@slackbox.erewhon.home> References: <20140828144600.07BDF2298C@server1.shellworld.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline In-Reply-To: <20140828144600.07BDF2298C@server1.shellworld.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: "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: Thu, 28 Aug 2014 17:38:45 -0000 --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 28, 2014 at 09:46:00AM -0500, Martin G. McCormick wrote: > Roland Smith writes: > > Looking at the mkisofs manpage, it *should* detect hard links by defaul= t.=20 > > Does > > using the `-cache-inodes` option make any difference? >=20 > I tried explicitly -no-cache-inodes and then -cache-inodes and > the two files vary by about 15 bytes. It looks like the hard > links are lost in the mounting process which means that one can > not use that as a test after all. There is nothing in the md or mdconfig manual pages about hard links. So it looks like you're right. To test it, you could use `ls -i` on two files in the mounted CD-ROM image that you suspect should be hard-linked. E.g. ${CD}/bin/[ and ${CD}/bin/test. If they don't return the same inode number md(4) does not provide hard link= s. > There is that version of tar as in tar-3.1.2 which I can't seem > to locate anywhere although the version may be at a higher > number by now. > How did you get it? I've not found anything for tar on > FreeBSD except for gnutar and that does not process iso9660 > images. tar 3.1.2 is the version included in FreeBSD 10. Since libarchive and cpio = have the same version, I assume they belong together. What you could try is copy /usr/src/contrib/libarchive/ from 10.0 in to your 9.1 source tree and see if you can build it on 9.1. Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0) --mYCpIKhGyMATD0i+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJT/2kgAAoJEED21dyjijPg+ogP/1JZlJDcAfw4XPHOHp1eDriZ OmTVg5AcP/y1dqIEj3OPYyTWfwRJ+bca4yTgQRxFAjDKyq+JqIuTg1xQ3EtLx9n6 sDnY9XOQ+XlW+ROl1FKROkxFNnCwpNyOO6T8oFeRB78t7IQmNN2mS79urxCwYcbA mZltMlCDpu+uvMLrtLrOVs8ZdYTTITddJdkk/FdOYrNcAv955rbZLi13apmW3kM/ FmRq2nBOrzRgkeJLUGjxx7RWcl0BVOmYR2bA6IRrQGLWAN49T2W6CBmeoyAOkX7/ lG+P5c0gx95Wl9tNu3RUgeY//9YyCYoivCkap20FyO+VSRH0Js8CyONsBd2KYOn6 yCbAxRbC15aE265cjF04FdRENxsGis0YGtAlRv+20hHxp+zSrt/G6aWzX3zeyNHC 6xD5/UvYtfzDOpD9pW2HWB1o1HxAJSvcB0Y9KGn/8gvwrfnHu988Q8c/Kf5sTRhx QpgYxmFeDFYUL6LsO6uzPUMotSL3KEHiXh9Rn7Y3WPhJHG6l7dtJqk+ftFc7413L TZHXCVEyAkThV5Irso4piZUgg/a5x007okl/CdIOrkCZNOJChPQIsvhC88v3QC/r vHJ7JEOJ4gjigvfr6bqwfhVclCDEnxb13trxuXOygkdrmb8cZZuvCX/B/Xdtc2qb WIpUuLdhfSiVURnxXEfL =PWqp -----END PGP SIGNATURE----- --mYCpIKhGyMATD0i+--