Subject: Re: disklabels across platforms
To: Chris Rupnik <chrisr@geeknet.montreal.qc.ca>
From: None <mcmahill@mtl.mit.edu>
List: port-i386
Date: 06/22/1999 11:17:12
I think they're hardware related (someone please correct me if I'm wrong).
Do you have a network interface where you can copy stuff that way?  If
not, can you use tar(1) to write directly to the drive and then untar it?
Ie, you'd use a disk that you didn't care about the data on it (since all 
would be lost), not make a filesystem, but rather treat it as a tape
drive?  Don't know for sure if this works or not, but it might.

Actually, I just tried with a zip disk.  On a NetBSD/mac68k machine,

tar cvf /dev/sd1c mydirectory

then on a NetBSD/sparc

tar tvf /dev/sd1c

and I see all the files listed there.  

dmesg shows:

sd1 at scsibus0 targ 6 lun 0: <IOMEGA, ZIP 100, F.09> SCSI2 0/direct
removable

Make SURE sd1 is your "scratch" drive because the first tar command _will_
erase everything on it!

-Dan


On Tue, 22 Jun 1999, Chris Rupnik wrote:

> Hi
>  Are disklabels endian related? I find that i cannot move a disklabelled
> scsi drive from my i386 to my alpha, nor to a sparc. If so, is there
> something i should be doing differently to move large amounts of
> information from one machine to another (or doing upgrades?)
> 
> Thanks
> 
> Chris
> 
>  
>