This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: b19,20: ln -d - hard links .. ?


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
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]