All, Exportfs -d might not be able to create the debug file without permission. Instead of letting execution continue, patch 1 makes it fail. Patch 2 replaces the DFD macro with an int dfd, simplifying code by 3 lines. Depends on patch 1. Thanks, Amavect