nasa / fprime

F´ - A flight software and embedded systems framework
https://fprime.jpl.nasa.gov
Apache License 2.0
10.03k stars 1.29k forks source link

Svc::FileManager MoveFile command does not work across partitions #303

Open timcanham opened 3 years ago

timcanham commented 3 years ago

This command invokes the native OS rename interface. This doesn't work on a file system when the source and destination are on different file system partitions. It does work to a different directory on the same file system. Is there a different underlying call that more mimics the system "mv" command?

LeStarch commented 3 years ago

My recollection is that in cross-platform c++ you'd need to copy and remove. Which we could implement.

thomas-bc commented 6 days ago

To be fixed by #2871