From owner-freebsd-stable@FreeBSD.ORG Wed Apr 10 05:30:11 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 E9164E7D for ; Wed, 10 Apr 2013 05:30:11 +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 80C66319 for ; Wed, 10 Apr 2013 05:30:10 +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 r3A5U5D3010678; Wed, 10 Apr 2013 12:30:05 +0700 (NOVT) (envelope-from egrosbein@rdtc.ru) Message-ID: <5164F8D8.8030604@rdtc.ru> Date: Wed, 10 Apr 2013 12:30:00 +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: Mark Saad Subject: Re: Release ISO images have broken RockRidge data References: <5163F4D4.1090505@rdtc.ru> <5FD2125C-678B-4DCB-B9ED-33C0D3AB2B81@longcount.org> In-Reply-To: Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Cc: FreeBSD Stable 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: Wed, 10 Apr 2013 05:30:12 -0000 09.04.2013 21:58, Mark Saad пишет: >> While not the same you can always do this >> >> mdconfig -a -t vnode -f yourfreebsd-version.iso >> >> mount -t cd9660 /dev/md0 /cdrom >> >> Then use pax, cpio , cp, rsync etc to copy the data off the image . This way breaks hardlinks, so /rescue expands to 690M instead of 5M. >> Also if memory serves me right libarchive may be able to unpack an iso much like a tar or cpio archive . Double check that . > Also for what its worth, tar does work at extracting an iso as well bsdtar/libarchive fails to expand these images correctly do to its own bugs: # ktrace -i tar xf ../FreeBSD-8.4-BETA1-amd64-livefs.iso usr/bin/make: Can't create 'usr/bin/make' usr/bin/pic: Can't create 'usr/bin/pic' usr/bin/post-grohtml: Can't create 'usr/bin/post-grohtml' usr/include/_semaphore.h: Can't create 'usr/include/_semaphore.h' usr/lib/libarchive.so.5: Can't create 'usr/lib/libarchive.so.5' ^C # kdump | grep -B 12 "'usr/bin/make'" 10247 bsdtar CALL link(0x284eff20,0x284c6180) 10247 bsdtar NAMI "usr/bin/mailq" 10247 bsdtar NAMI "usr/bin/make" 10247 bsdtar RET link -1 errno 18 Cross-device link 10247 bsdtar CALL umask(S_IWGRP|S_IWOTH) 10247 bsdtar RET umask 0 10247 bsdtar CALL write(0x2,0x7fbfe788,0xc) 10247 bsdtar GIO fd 2 wrote 12 bytes "usr/bin/make" 10247 bsdtar RET write 12/0xc 10247 bsdtar CALL write(0x2,0x7fbfe788,0x1d) 10247 bsdtar GIO fd 2 wrote 29 bytes ": Can't create 'usr/bin/make'" > So , what issues does this cause ? Have your filed a pr with FreeBSD or NetBSD ? Not yet.