Update PhysicalFileManagement.md file

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
Vitalii Koshura 2023-02-28 15:07:15 +01:00
parent 6841612076
commit 9fa0723cbf
No known key found for this signature in database
GPG Key ID: CE0DB1726070A5A3
1 changed files with 5 additions and 3 deletions

@ -1,7 +1,9 @@
# Explicit client file management
The standard mode of file access on a BOINC client is:
* *Physical* files exist in the projects/URL directory. BOINC keeps track of all physical files, and deletes them when no longer needed.
* *Logical* files are links in the slots/N directory, and refer to physical files. Applications are free to create other files in their slot directory; BOINC doesn't know about these, other than to delete them when the app finishes.
* **Physical** files exist in the projects/URL directory. BOINC keeps track of all physical files, and deletes them when no longer needed.
* **Logical** files are links in the slots/N directory, and refer to physical files. Applications are free to create other files in their slot directory; BOINC doesn't know about these, other than to delete them when the app finishes.
It's also possible for applications to create and access files in the project/URL directory.
BOINC doesn't know about these files, and in particular it won't delete them
@ -13,4 +15,4 @@ Some cases where you might want to do this:
In order to put files in the project directory, you need to know where it is.
This can be found by calling [boinc_get_init_data()](BasicApi#Communicatingwiththecoreclient);
the directory is in `APP_INIT_DATA.project_dir`.
the directory is in `APP_INIT_DATA.project_dir`.