title: moving a file across volumes with C++ in Linux
body: <p>I'm trying to write something that moves files across volumes on all platforms. Currently, I use the rename(...) function to move the files, and this works, even across volumes/drives on Windows. However, on Linux, I get an EXDEV error (via strace), killing my app :(</p>
  
  <p>It appears that I may need to call 'mv' via system(...) but this seems very hacky. That, or integrate boost into my app, which is not a trivial operation.</p>
  
  <p>Are there any other options available to me?</p>
  
  <p>Thank you for your time.</p>