fprime icon indicating copy to clipboard operation
fprime copied to clipboard

Add directory listing to `Svc/FileManager`

Open timcanham opened this issue 2 years ago • 2 comments

F´ Version 3.x
Affected Component Svc/FileManager


Feature Description

Add a command that will list the files in a directory with file sizes.

Rationale

See what files are currently on the deployment.

timcanham avatar Mar 01 '23 23:03 timcanham

@timcanham we have this....we just want to remove the CRC so that we don't have timing issues. Or am I missing something?

LeStarch avatar Mar 28 '24 17:03 LeStarch

Now that we (nearly!) have data products, we should have a file listing command that generates a file listing data product.

The current command generates one EVR per listed file - this can be problematic because EVRs can get dropped or delayed, leading to an inconsistant view of the file system. Including an entire file listing in one data product provides a more consistant view of filesystem state.

That being said - you also may need to bootstrap your system if you're having filesystem issues (i.e. if your file listing command depends on a healthy filesystem, you may not be able to do filesystem listings when you need them most), so there's value to having both an EVR and a data product based file listing command.

Joshua-Anderson avatar Mar 28 '24 21:03 Joshua-Anderson