From owner-freebsd-stable@FreeBSD.ORG Tue Apr 9 11:00:45 2013 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6A4D2B98 for ; Tue, 9 Apr 2013 11:00:45 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13::5]) by mx1.freebsd.org (Postfix) with ESMTP id 1480D15A for ; Tue, 9 Apr 2013 11:00:44 +0000 (UTC) Received: from eg.sd.rdtc.ru (localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.14.6/8.14.6) with ESMTP id r39B0fow003964 for ; Tue, 9 Apr 2013 18:00:41 +0700 (NOVT) (envelope-from egrosbein@rdtc.ru) Message-ID: <5163F4D4.1090505@rdtc.ru> Date: Tue, 09 Apr 2013 18:00:36 +0700 From: Eugene Grosbein User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.2.13) Gecko/20110112 Thunderbird/3.1.7 MIME-Version: 1.0 To: FreeBSD Stable Subject: Release ISO images have broken RockRidge data Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Apr 2013 11:00:45 -0000 Hi! Release ISO images located at ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/ were generated with mkisofs until switch to makefs. For example, ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/8.2/FreeBSD-8.2-RELEASE-amd64-livefs.iso was generated with mkisofs and has correct RockRidge extended attributes. # isoinfo -d -R -i FreeBSD-8.2-RELEASE-amd64-livefs.iso System id: FreeBSD Volume id: FreeBSD_LiveFS Volume set id: Publisher id: The FreeBSD Project. http://www.freebsd.org/ Data preparer id: Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING Copyright File id: Abstract File id: Bibliographic File id: Rock Ridge signatures version 1 found Rock Ridge id 'RRIP_1991A' Eltorito validation header: Hid 1 Bootid 88 (bootable) This image may be unrolled correctly with respect to hardlinks using xorriso command from ports: # xorriso -for_backup -load volid \* -indev ../FreeBSD-8.2-RELEASE-amd64-livefs.iso -osirrox on -- -extract / livefs -rollback_end Newer images (8.3 and later) were generated using makefs that seem to produce incorrect RockRidge data: # isoinfo -d -R -i FreeBSD-8.4-BETA1-amd64-livefs.iso | grep id System id: NetBSD Volume id: FREEBSD_LIVEFS Volume set id: Publisher id: Data preparer id: Application id: Copyright File id: Abstract File id: Bibliographic File id: Rock Ridge signatures version 1 found Rock Ridge id 'IEEE_P1282' Eltorito validation header: Hid 1 Bootid 88 (bootable) Same xorriso command produces tons of following error messages and unrolls the image without respect to hardlinkg increasing size in nearly 3 times: libisofs: WARNING : Invalid TF entry Caused by: Wrong or damaged RR entry bsdtar from 8.3-STABLE shows lots of errors too, while extracting FreeBSD-8.4-BETA1-amd64-livefs.iso mdconfig breaks hardlinks too. Is it possible to unroll this image respecting hardlinks? Eugene Grosbein