Subject: Re: Upgrading and 1.3.2
To: Steve Revilak <revilak@umbsky.cc.umb.edu>
From: David A. Gatwood <marsmail@globegate.utm.edu>
List: port-mac68k
Date: 05/23/1998 09:46:41
On Fri, 22 May 1998, Steve Revilak wrote:

> 	I'd like to bypass the mac side of things for the install
> itself.  Since I have access to a CD writer on the mac side, I was
> planning on downloading the files on the mac side, then burning an
> ISO-9960 CD-ROM, mounting that from within NetBSD and unpacking.  Sound
> feasable? 

Maybe, but there's an easier way that might work almost as well....  If
you have the disk space to store them on the NetBSD side, you could always
download them while running NetBSD.  If not, pick up a copy of hfsutils.
Download to a MacOS partition, then hmount your MacOS drive.  Finally, do 
something like:

hcopy -r base131 | tar -px --ungzip --same-owner --sparse --unlink

omitting or replacing any of the above options that NetBSD balks at... I
remember unlink is important.  The others are taken from a linux man page
and may not be quite the same under NetBSD.  -p preserves permissions
(instead of restricting them by your umask, I guess), --sparse is to
"handle sparse files efficiently" and may or may not be necessary.  I'm
almost positive --ungzip works, and --same-owner's purpose should be
obvious enough.  :-)  They're probably all there, but I'm not positive,
hence the warning.

If you do the CD-ROM approach, you can either replace the hcopy -r with
cat or you can just use tar -xpf filename --ungzip --unlink --sparse
--same-owner....


David

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/CC/FA/H/L/MC/M/MU/PA/TW d-@ s:>- a-- C++++>$ UBLAS*++++>$
P+?>$ L+++>$ !E--- W+++>$ N++(+++)>+++$ !o? K-? !w--- !O
M++>$ !V-- PS+>$ !PE- Y+>$ PGP+>$ t+++>$ 5+>++++$ !X- !R tv+>$
b++>$ !DI !D- G++(+++)>$ e>++++ h--! r--- !y-
------END GEEK CODE BLOCK------