--- kio/global.cpp Sun Feb 18 10:27:06 2001 +++ kio/global.cpp.new Thu Feb 22 23:47:34 2001 @@ -30,6 +30,12 @@ #include #include +#ifdef __FreeBSD__ +#include +#include +#include +#endif + #include "kio/global.h" #include "kio/job.h" @@ -567,6 +573,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