--- kio/global.cpp.orig Thu Dec 7 14:52:15 2000 +++ kio/global.cpp Thu Dec 7 14:52:29 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