[Box Backup] Directory mtime, etc.

Ben Summers boxbackup@fluffy.co.uk
Tue, 21 Dec 2004 10:35:29 +0000


On 21 Dec 2004, at 10:29, Martin Ebourne wrote:

> Ben Summers <ben@fluffy.co.uk> wrote:
>> On 21 Dec 2004, at 03:21, Joe Krahn wrote:
>>> Are directory attributes only partly supported, i.e. no mtime 
>>> storage?
>>> If so, any plans to change this?
>>
>> Not really. It's kind of difficult to restore mtimes without delving
>> into the filesystem. Attribute data is restored as best it can be.
>
> Surely that's just a call to utime(2) (POSIX) or utimes (BSD)?

Yes, but it generally gets changed by the OS quite quickly afterwards.

I have re-read the code. Directory attributes do get applied. It's just 
that in the bbackupquery listings they're not shown because of the way 
the attribute system works.

Ben