On 6/21/07, Kern Sibbald <[EMAIL PROTECTED]> wrote: > > > 3. Junctions are another story, and I have no idea how much work that is > > > going to be. > > > > Should work somewhat similar to soft links, I guess. > > Yes, and it would be nice if Yves can help me out on junctions ...
Turns out I was wrong, Perl does hardlinks not junctions afaict. However I did find some good material on Junctions, including source code. Also there is gpl'ed sourcecode (pascal/delphi) on sourceforge that includes source as well. The most promising resource (ie, with the best signal to noise ratio and source code) appeared to be: http://www.codeproject.com/w2k/junctionpoints.asp?df=100&forumid=75&exp=0&select=354644#The_Solution There is of course various bits and bobs on MSDN: Hardlinks: http://msdn2.microsoft.com/en-us/library/aa365006.aspx Various stuff about reparse points (which is how Junctions are implemented) http://msdn2.microsoft.com/en-us/library/aa365503.aspx http://msdn2.microsoft.com/en-us/library/aa365511.aspx http://msdn2.microsoft.com/en-us/library/aa365507.aspx http://msdn2.microsoft.com/en-us/library/aa365505.aspx DeviceIoContol http://msdn2.microsoft.com/en-us/library/aa363216.aspx Controlcodes for above: http://msdn2.microsoft.com/en-us/library/aa363948.aspx FSCTL_DELETE_REPARSE_POINT http://msdn2.microsoft.com/en-us/library/aa364560.aspx FSCTL_GET_REPARSE_POINT http://msdn2.microsoft.com/en-us/library/aa364571.aspx FSCTL_SET_REPARSE_POINT http://msdn2.microsoft.com/en-us/library/aa364595.aspx BTW.... In my trawling I noticed something else that piqued my interest, does Bacula handle alternate data streams on files? The kinda thing like: http://www.microsoft.com/technet/sysinternals/FileAndDisk/Streams.mspx I was thinking about the checksumming issues on Win32 that you mentioned a while back and it occured to me that given Bacula's unix/linux heritage maybe you didnt support them, which would explain why some files wouldnt checksum correctly... Yves -- perl -Mre=debug -e "/just|another|perl|hacker/" ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
