--- kio/global.cpp.orig Mon Sep 18 07:24:44 2000 +++ kio/global.cpp Thu Nov 2 11:37:24 2000 @@ -28,6 +28,12 @@ #include #include +#ifdef __FreeBSD__ +#include +#include +#include +#endif + #ifdef HAVE_FSTAB_H #include #endif @@ -423,6 +429,30 @@ /* Get the list of mounted file systems */ +#ifdef __FreeBSD__ + + QString result; + struct statfs *mounted; + + int num_fs = getmntinfo(&mounted, MNT_NOWAIT); + + for (int i=0;i