[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference jamin::vms-for-mac

Title:PATHWORKS for Macintosh & PATHWORKS for VMS (Macintosh)
Notice:Mac client 1.3.5 kit see note 9.2. MacX 1.5 kit see note 9.5
Moderator:UNIFIX::HARRIS
Created:Fri Jan 26 1990
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:4033
Total number of notes:16065

4014.0. "Multiple volume file copy" by HACMAN::HACK (Don Hack, Network Services) Tue Mar 11 1997 23:31

    There are two Mac volumes, one on a NT box, a second on a VAX running
    PATHWORKS for Mac.
    
    A Mac has both volumes mounted and does a drag and drop from the NT to
    the VAX.
    How does the network packets flow?  Do they pass through the Mac?
    
    Any education and insight is appreciated.
    Thanks .. Don
T.RTitleUserPersonal
Name
DateLines
4014.1Mac is in the middle of all server to server copiesUNIFIX::HARRISJuggling has its ups and downsWed Mar 12 1997 09:2359
>    There are two Mac volumes, one on a NT box, a second on a VAX running
>    PATHWORKS for Mac.
>
>    A Mac has both volumes mounted and does a drag and drop from the NT to
>    the VAX. How does the network packets flow?  Do they pass through the
>    Mac?
    
    Yup.
    
    If you need _EXACT_ details, then put a sniffer on the wire, and get a
    copy of Inside AppleTalk, Second Edition to interpret what you are
    seeing, but in broad general terms here is what happens:
    
    Mac fetches the file attributes from the source file.
    
    Mac creates an output file with the attribute information just fetched.
    
    Mac opens source file data fork.
    
    Mac opens destination file data fork.
    
    Mac pre-allocates enough space in the output file to hold the contents
    of the input file.
    
    Mac reads data from the source.
    
    Mac writes data to the destination.
    
    Repeat reading/writing until data fork is totally copied.
    
    Truncate destination file to free up any excess space allocated.
    
    Close source data fork
    
    Close destination data fork.
    
    Repeat above for Resource fork.
    
    Repeat above for each file to be copied.
        
    ----
    
    The only shortcut copy operation is if the source and destination are
    on the same server.  Then there is a command that can be sent to the
    server to request that it do the copy internal to itself.  This can be
    on the same volume (such as a Duplicate Command/D request or a drag and
    drop with the Option key held), or it can be between to volumes both
    served by the same server.
    
    All other copy operations require the Mac doing the Drag and Drop to be
    involved in each read and write of data.
    
    					Bob Harris
    
    PS.  In case you take me seriously about using a sniffer, there is an
         on-line copy of Inside AppleTalk, Second Edition available at the
         following URL:
    
<http://devworld.apple.com/ngs/lpp/adrpub/docs/dev/opentransport/reference.html>