Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!bionet!ames!dftsrv!jagubox.gsfc.nasa.gov!jim From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski) Newsgroups: comp.unix.aux Subject: Re: cloning the A/UX root partition Keywords: clone A/UX partition SCSI Message-ID: <4852@dftsrv.gsfc.nasa.gov> Date: 11 Apr 91 10:39:28 GMT References: <6962@rex.cs.tulane.edu> <1991Apr10.025055.1029@ni.umd.edu> <51392@apple.Apple.COM> Sender: news@dftsrv.gsfc.nasa.gov Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski) Distribution: usa Organization: NASA/Goddard Space Flight Center Lines: 31 In article <51392@apple.Apple.COM> akkana@Apple.COM (Akkana Peck) writes: }In article <1991Apr10.025055.1029@ni.umd.edu> steveg@ni.umd.edu (Steve Green) writes: }>In article <6962@rex.cs.tulane.edu> dejesus@bourbon.ee.tulane.edu (Francisco X DeJesus) writes: }>> Is there any program out there (preferably under MacOS) that can do an }>>image copy of an entire SCSI partition, from one drive to another? }>>[deleted] }> }> dd if=/dev/dsk/cxd0s31 of=/dev/dsk/cyd0s31 bs=512k }>where x is the source scsi id and y is the destination scsi id. } }Or even ... cat! I admit that I haven't tried it on A/UX, but I've }successfully cloned SunOS with commands like "cat /dev/rsd0a >/dev/rsd1a". }(We were going to use dd, but just wanted to see if cat would work, }for the hack value. It had been a long day. :-) ) } Of course, in BOTH cases you must make sure that the sizes of the 2 partitions are the EXACT same, since the SuperBlocks are also copied and they have file- system size info in them. If, for example, you want to move your 50MB root file system to a new 100MB partition, DON'T use dd (or cat) or any image copy! Not that Steve or Akkane were saying that you could, it's just that I've seen some people try and then wonder why it didn't work :( -- =========================================================================== #include =:^) Jim Jagielski NASA/GSFC, Code 711.1 jim@jagubox.gsfc.nasa.gov Greenbelt, MD 20771 "I object to all this sex on the television. I mean, I keep falling off!"