[For background, this is motivated by PAN006 filling its disk sometime in the last few days.]
The housekeeping stage of the PANOPTES software takes care of uploading images to Google Cloud Storage, but we don’t have a great way of keeping track of whether this has happened on a per-file basis. On Windows there is an Archive bit associated with each file, something not present in Linux. However, Ext4 (the default file system on Ubuntu) supports extended attributes, which allow arbitrary key:value pairs to be attached to files. We could possibly use these to track when and to where each file was uploaded. This would make it fairly easy to determine when it is safe to delete local files. My preference is to keep the files on the local system for a while, just in case it turns out there is some problem with the upload or (more likely) a desire to investigate an issue with the operation of the scope.
Does anyone on the team have experience using these extended attributes?