delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/07/06:30:25

From: john AT exmachina DOT net (John Mullee)
Subject: Re: b19,20: ln -d - hard links .. ?
7 Nov 1998 06:30:25 -0800 :
Message-ID: <3.0.3.16.19981106162530.282700be.cygnus.gnu-win32@exmachina.net>
References: <19981104193930 DOT 6154 DOT qmail AT findmail DOT com>
Mime-Version: 1.0
To: "Earnie Boyd" <earnie_boyd AT yahoo DOT com>, gnu-win32 AT cygnus DOT com

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019