mirror of https://github.com/BOINC/boinc.git
file_deleter: if deleting antique files, follow links when
finding the files. This allows NFS mounting of the upload directory, pointed to by a symbolic link. svn path=/trunk/boinc/; revision=10302
This commit is contained in:
parent
f3b603204a
commit
089f44cd0d
|
@ -5786,6 +5786,10 @@ Bruce 10 June 2006
|
|||
WU.rsc_fpops_est field. This can be useful in
|
||||
determining how much credit to assign, and preventing cheating.
|
||||
|
||||
- file_deleter: if deleting antique files, follow links when
|
||||
finding the files. This allows NFS mounting of the upload
|
||||
directory, pointed to by a symbolic link.
|
||||
|
||||
DAVID: I was going to be a good guy and document this, but you
|
||||
forgot to check validate_simple.php and validate_advanced.php
|
||||
into CVS (:-).
|
||||
|
@ -5803,4 +5807,5 @@ Bruce 10 June 2006
|
|||
feeder.C
|
||||
validate_util.C
|
||||
validate_util2.C
|
||||
file_deleter.C
|
||||
|
||||
|
|
|
@ -386,7 +386,7 @@ int add_antiques_to_list(int days) {
|
|||
return -1;
|
||||
}
|
||||
|
||||
sprintf(command, "find %s -type f -mtime +%d", config.upload_dir, days);
|
||||
sprintf(command, "find %s -type f -mtime +%d -follow", config.upload_dir, days);
|
||||
|
||||
// Now execute the command, read output on a stream. We could use
|
||||
// find to also exec a 'delete' command. But we want to log all
|
||||
|
|
Loading…
Reference in New Issue