Please a little patch that change the working directory to / in daemon mode. This way you don't have to kill motion to umount the partition from where you start it.
header_get() doesn't always in add a \0 string terminator.
Christophe posted the attached little patch to solve this problem.
Change History of Patch
Initial version
Discussion and Comments
Both are included in the main sources and will be in the 3.2.1 release.
-- KennethLavrsen - 21 May 2005
would 'target_dir' be a better place?
-- EvilPete - 08 Jun 2005