Re: Trash system



Brief comment:

David Faure <david mandrakesoft com> writes:

> On Thursday 14 December 2000 11:23, Pavel Cisler wrote:
> 
> This file has the following structure:
>     <original location>
>     <date deleted in hex>

These sound useful...

>     <File size>
>     <File mode>
>     <mtime of the original file in hex>
>     <ctime of the original file in hex>

But why these? There's no way to restore the ctime when undeleting,
first off (POSIX lets you set the mtime and the atime but not the
ctime) but aren't the file's size, mode and dates already available
when stat()ing the file?

I'll leave it to Pavel to comment on the directory structure inside
the trash.

 - Maciej





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]