On Mon, 2009-10-26 at 20:39 +1100, James Harper wrote: > > > > Le lundi 26 octobre 2009 04:24:42, James Harper a écrit : > > > > I think that run-windows-in-a-vm is a better idea than using BartPE, > > > > now if Bacula can restore acl stream from BackupWrite/Read, i would be > > > > very happy too! > > > > > > The patch tacked onto the end of this email accomplishes this, with the > > > following (serious) restrictions/bugs: > > > > > > . Doesn't seem to work on directories. I assume that this is because > > > when directories get restored, processWin32BackupAPIBlock is never > > > called at any point... does that sound right? Any suggestions as to how > > > to work around it? > > > > This call is present on many places (bextrat, filed/restore.c, etc...), > > perhaps > > it is missing at some places, but it's hard to say. > > I guess 'write' never makes any sense for directories... Uh xattr and acls on directories are not to uncommon in the UNIX world.
> > > > > > . Alternate Data Streams are not restored. Easy enough to add I think, > > > but ntfs-3g has a few different ways of allowing access to them and I > > > don't know which is best at this point. > > > > What can we expect from this Stream ? > > Alternate Data Streams are just like different files within the one file. > Almost never used by anything, > but could be used to hold metadata. Under Windows you access the ADS's via > appending the filename with > ':<streamname>', so james.txt:hiddenstuff would access an ADS called > hiddenstuff that belongs to the file > james.txt. If you delete the file, all the ADS's go with it. Its probably much like how Solaris implements extended attributes with a separate naming space with again a complete filesystem structure. I coded that for bacula xattr support and while it may be very flexible its kind of hard to code (that is probably why the coding for Solaris xattr is about 3 x the size of the Linux or xBSD code.) > > > > > > . Needs the attr libraries > > > > For sure, this is already needed for all other extended attributes. > > > > Just noticed that. It would be nice to be able to make use of the existing > xattr > restore stuff... I have a feeling it might turn out to be really messy though > - > too many different levels of 'streams' (Windows Backup API streams inside > bacula streams etc). Correct this doesn't play to well with the current design paradigm used for acl and xattrs. Like I said in a previous mail we might much around for backwards compatibility but we should seperate the streams for the future. Marco ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel