From owner-freebsd-questions@FreeBSD.ORG Sun Nov 4 16:52:23 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 871E516A476 for ; Sun, 4 Nov 2007 16:52:23 +0000 (UTC) (envelope-from jonathan+freebsd-questions@hst.org.za) Received: from hermes.hst.org.za (onix.hst.org.za [209.203.2.133]) by mx1.freebsd.org (Postfix) with ESMTP id 4440413C49D for ; Sun, 4 Nov 2007 16:52:21 +0000 (UTC) (envelope-from jonathan+freebsd-questions@hst.org.za) Received: from [10.1.11.1] ([10.1.11.1]) (authenticated bits=0) by hermes.hst.org.za (8.13.8/8.13.8) with ESMTP id lA4GTcHw043761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 4 Nov 2007 18:29:39 +0200 (SAST) (envelope-from jonathan+freebsd-questions@hst.org.za) From: Jonathan McKeown To: freebsd-questions@freebsd.org Date: Sun, 4 Nov 2007 18:32:19 +0200 User-Agent: KMail/1.9.4 References: <200710301402.l9UE21A2093919@dc.cis.okstate.edu> In-Reply-To: <200710301402.l9UE21A2093919@dc.cis.okstate.edu> Organization: Health Systems Trust X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Spam-Score: -4.284 () ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.61 on 209.203.2.133 Cc: Martin McCormick Subject: Re: tar Ignoring out-of-order file What Does that Mean? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2007 16:52:23 -0000 On Tuesday 30 October 2007 16:02, Martin McCormick wrote: > I need to modify the first installation image for a > headless installation of Freebsd6.2. The file in question is: > > 6.2-RELEASE-i386-disc1.iso > > Thanks to a helpful member of the list [that was me - I'm glad I was of some help] > I found out that tar works on unpacking these images and it > mostly does on this one, but there is a complaint I get from tar > that I haven't found on other images. If I do a > > tar tvf 6.2-RELEASE-i386-disc1.iso > > Here is what happens while looking at the contents list: > > 0 44232 Jan 12 2007 RELNOTES.HTM lr-xr-xr-x 1 0 0 > 0 Jan 12 2007 stand -> /rescue lr-xr-xr-x 1 0 0 0 > Jan 12 2007 sys -> usr/src/systar: Ignoring out-of-order file > > -r--r--r-- 1 0 0 22916 Jan 12 2007 RELNOTES.TXT I haven't taken any steps at all to verify this, but just looking at the error message it would appear that it's ignoring sys, which is a symlink to usr/src/sys. I wonder if it's encountering sys, trying to create the soft link and finding that usr/src/sys doesn't exist to be linked to because it hasn't been unpacked yet? That may be the meaning of the message about an out-of-order file. > It appears that the entire image unpacks except for the > ignored file. If one tries the extraction with > > tar xf 6.2-RELEASE-i386-disc1.iso > > The complaint about the out-of-order file is the only indication > that anything is wrong. If it is indeed sys that's not being created, it's a symlink to a directory rather than a file or link to a file. If the root of the CD doesn't contain a directory called sys which softlinks to usr/src/sys, it should be possible to correct the error by doing ln -s usr/src/sys sys in the root of the unpacked CD filesystem. > In looking at the man page for tar, nothing jumps out at > me as to how to end up with the proper file structure that > mkisofs can put back in to an image to put on a CDROM. > > My thanks for any suggestions as I may be needing to do > one of these installs in a day or so and it would be nice to > know that all the image is there. I may have missed your deadline in that case - sorry, I've been on holiday. Jonathan