On Mon, Oct 10, 2011 at 07:14:16PM -0400, Dave Reisner wrote: > Use our own canonicalize library to resolve a provided path before > checking if its a mountpoint. Good idea. Thanks. I have applied a more robust solution based on libmount. Karel ==27191== Command: /home/projects/util-linux/util-linux/sys-utils/.libs/mountpoint home ==27191== home is a mountpoint ==27191== ==27191== HEAP SUMMARY: ==27191== in use at exit: 0 bytes in 0 blocks ==27191== total heap usage: 535 allocs, 535 frees, 44,094 bytes allocated ==27191== ==27191== All heap blocks were freed -- no leaks are possible ==27191== ==27191== For counts of detected and suppressed errors, rerun with: -v ==27191== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 6) -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html