Subject: Re: b19,20: ln -d - hard links .. ?
From: [email-masked] (John Mullee)

7 Nov 1998 06:30:25 -0800
Message-ID: <[email-masked]>
References: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: "Earnie Boyd" <[email-masked]>, [email-masked]

At 19:39 1998-11-04 -0000, you wrote:
>Win32 doesn't do hard links!

"Oh yeah?" :)

From Win32-SDK helpfiles that came with MSVC++ 4.1:

BackupWrite
    The BackupWrite function writes a stream of data from a buffer to a
    specified file or directory. The data must be divided into  substreams
    separated by WIN32_STREAM_ID structures. You use this function to
    restore a file or directory that has been backed up.
  Remarks
    The BACKUP_LINK stream type lets you restore files with hard links. 

WIN32_STREAM_ID
  struct WIN32_STREAM_ID
    { 
     DWORD dwStreamId; 
     DWORD dwStreamAttributes; 
     LARGE_INTEGER Size; 
     DWORD dwStreamNameSize; 
     WCHAR  cStreamName[ ]; 
    } 
  Members
    dwStreamId
      Specifies the type of data. This member can be one of the following values: 
        Value	                Meaning	
        BACKUP_DATA             Standard data
        BACKUP_EA_DATA          Extended attribute data
        BACKUP_SECURITY_DATA	Windows NT security descriptor data
        BACKUP_ALTERNATE_DATA	Alternative data streams
        BACKUP_LINK             Hard link information

Note that the 4.1 docs are more extensive and more complete than
subsequent versions of the documentation.

John.

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".