[comp.sys.mac.system] Duplicate a HD over Appletalk?

km@mathcs.emory.edu (Ken Mandelberg) (08/27/90)

Anyone know of an existing program to duplicate a hard disk on one Mac
exactly on another Mac using Appletalk? I'm talking about a block by
block copy of identical hard disks, not file by file copying.
-- 
Ken Mandelberg      | km@mathcs.emory.edu          PREFERRED
Emory University    | {rutgers,gatech}!emory!km    UUCP 
Dept of Math and CS | km@emory.bitnet              NON-DOMAIN BITNET  
Atlanta, GA 30322   | Phone: (404) 727-7963

peirce@claris.com (Michael Peirce) (08/30/90)

In article <6252@emory.mathcs.emory.edu> km@mathcs.emory.edu (Ken Mandelberg) writes:
>Anyone know of an existing program to duplicate a hard disk on one Mac
>exactly on another Mac using Appletalk? I'm talking about a block by
>block copy of identical hard disks, not file by file copying.

I don't know any way to do a block-for-block copy, but an easy way to do a
file-by-file copy is using Public Folder.

Just use the Customize dialog to designate your whole hard disk as your "Public
Folder" (you do this by changing the Public Folder location from ":Public:" to
you hard disk such as "HD40:").

After making the change, reboot the machine, then just copy everything.  It's
actually fairly fast...


 Claris Corp. | Michael R. Peirce, author of Public Folder
 -------------+--------------------------------------
              | 5201 Patrick Henry Drive MS-C4
              | Box 58168
              | Santa Clara, CA 95051-8168
              | (408) 987-7319
              | AppleLink: peirce1
              | Internet:  peirce@claris.com
              | uucp:      {ames,decwrl,apple,sun}!claris!peirce

ts@cup.portal.com (Tim W Smith) (09/01/90)

Is there a good way, with Public Folder, to make your public folder be
on a disk that is not present when the Public Folder INIT runs?  I've
been using the following kludge:

	1. Use customize to name the public folder FOO:.

	2. Make a floppy labeled FOO:.

	3. Reboot.

	4. Insert floppy after happy Mac appears.

	5. Public Folder INIT loads, accesses floppy.
	I didn't know if this would work, since Finder has
	not yet run to process the disk insertion event.
	

	6. When system is up, run application that creates RAM
	disk.

	7. Eject floppy.

	8. Rename RAM disk FOO:.

	9. Select Public Folder, see if it finds the Desktop
	file on the RAM disk.  If it does, we are done.

	10. Drag RAM disk to trash.  RAM disk driver posts a disk
	insertion event to put RAM disk back.  Finder remounts
	RAM disk.  It is now the public folder.

This is sort of a pain.  Is there a better way?

						Tim Smith

ps: While I'm asking about Public Folder, how does it compare to TOPS
and Appleshare as far as relative overhead?  That is, suppose I am trying
to compare two ethernet drivers.  I transfer a bunch of files with
Public Folder and determine the transfer rate using the first driver.
Then I switch to the second driver and do the same thing.  Let's say
the second driver is N% faster.

If instead of Public Folder, I was using TOPS or Appleshare, would
I expect the second driver to also be N% faster?

peirce@claris.com (Michael Peirce) (09/05/90)

In article <33437@cup.portal.com> ts@cup.portal.com (Tim W Smith) writes:
>Is there a good way, with Public Folder, to make your public folder be
>on a disk that is not present when the Public Folder INIT runs?  I've
>been using the following kludge:
>
... description of how to make a RAM disk be a Public Folder...
>
>This is sort of a pain.  Is there a better way?
>
>						Tim Smith
>
>ps: While I'm asking about Public Folder, how does it compare to TOPS
>and Appleshare as far as relative overhead?  That is, suppose I am trying
>to compare two ethernet drivers.  I transfer a bunch of files with
>Public Folder and determine the transfer rate using the first driver.
>Then I switch to the second driver and do the same thing.  Let's say
>the second driver is N% faster.
>
>If instead of Public Folder, I was using TOPS or Appleshare, would
>I expect the second driver to also be N% faster?

I'm afraid I don't know of a better way to get Public Folder to see a disk
that isn't around at boot time.  If Public Folder can't find the designated
Public Folder at INIT time it doesn't load itself into your system heap.  This
has the benefit that it if you don't have a PF, no system resources are
consumed.  The down side is that there is no way to change the PF later.

At one time I had planned a follow-up release that would add in these features,
but System 7 FileSharing should do a better job of it and still be free.

As far as overhead, I'm really not sure about this.  PF is actually pretty
efficient.  It uses Apple Transaction Protocol (ATP) for it's transfers and
is about as efficient as you can be using this protocol.  You *might* be able
to run a little fast using another protocol, but not much really.  Both TOPS
and AppleShare have to worry about more infomation than PF (they keep files
open and such, whereas PF simple blasts the file across the wire as fast as
it can).


 Claris Corp. | Michael R. Peirce -- author of Public Folder
 -------------+--------------------------------------
              | 5201 Patrick Henry Drive MS-C4
              | Box 58168
              | Santa Clara, CA 95051-8168
              | (408) 987-7319
              | AppleLink: peirce1
              | Internet:  peirce@claris.com
              | uucp:      {ames,decwrl,apple,sun}!claris!peirce