Re: tar Ignoring out-of-order file What Does that Mean?
Jonathan McKeown writes: [that was me - I'm glad I was of some help] Most definitely. You've been a tremendous help but I am still stuck and I believe all issues are known except this one. I should know when the unpacking/packing part is working by unpacking the FreeBSD iso image and then repacking it without doing anything at all. This should give me an iso image that is the same size as the good one and probably a byte-for-byte copy of the original. I did as you suggested and here is what happened. First, I created a directory called image and cd'd there. $ ls It's empty as it should be. $ ln -s usr/src/sys sys $ ls -l total 0 lrwxr-xr-x 1 martin martin 11 Nov 5 07:44 sys - usr/src/sys Now, it is time to unpack the iso image. $ tar xf ~/6.2-RELEASE-i386-disc1.iso tar: Ignoring out-of-order file Darn! Well, Let's see how big an ISO image file it makes anyway. $ mkisofs -l -R -q . ~/tmp/testfile.iso $ ls -l ~/6.2-RELEASE-i386-disc1.iso ../tmp/testfile.iso -rw-r--r-- 1 martin martin 598476800 Nov 5 07:48 ../tmp/testfile.iso -rw-r--r-- 1 martin martin 601229312 Sep 21 08:57 /home/martin/6.2-RELEASE-i386-disc1.iso The original iso image is 2,752512 bytes larger. I bet it's the files that tar doesn't seem to be happy about. Once this hurdle is finally jumped, the rest should be quite normal. If you mount the image on a Linux system and use tar or mkisofs, you get a file that is almost twice the proper size so I think there may be some links that end up as multiple versions of the same files when they should have been symlinks or something else. The image made with FreeBSD's mkisofs and tar utilities is the archive that is 2.5 megs short. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tar Ignoring out-of-order file What Does that Mean?
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tar Ignoring out-of-order file What Does that Mean?
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, 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 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. 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. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Network Operations Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This is probably not a direct answer to your question, but might be helpful: ISO images can be mounted as filesystems. In linux you would do something like mount -o loop /path/to/your.iso /path/to/mnt In FreeBSD, you would need to create a memory disk and mount it, i.e. mdconfig -a -f /path/to/your.iso (response) md0 mount -t cd9660 /dev/md0 /path/to/mnt you can then copy the files, and modify what you need. In order to make boot CDs again, you would need to use cdrecord with suitable options, which I don't remember by heart. BUT, you may look at the instructions on the following page: http://www.pa.msu.edu/~tigner/bsddvd.html there are instructions to create a bootable DVD from FreeBSD cdroms, and I can confirm the procedure works perfectly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tar Ignoring out-of-order file What Does that Mean?
http://lists.freebsd.org/pipermail/freebsd-questions/2005-February/078081.html This may help Am Dienstag 30 Oktober 2007 14:02 schrieb Martin McCormick: 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, 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 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. 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. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Network Operations Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgpkd4fq7OZpX.pgp Description: PGP signature