-
-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't identify mount points on BSD systems #195
Comments
This is the first I ever heard of this on any BSD variant. I recall A quick Google search also gave me a man page for FreeBSD, but that appears to be for a very old version (2.9.1): https://www.freebsd.org/cgi/man.cgi?query=mtab&sektion=5&apropos=0&manpath=2.9.1+BSD ...which begs the question: Was I am very reluctant to invoke an external binary for even this trivial purpose. That introduces a host of problems: The Linux Also, some Linux distributions (e.g. openSUSE, IIRC also Fedora) are migrating away from the In short, this opens a ton of problems. |
Please check if that If there really is a difference, please attach the output of both a plain |
https://doc.qt.io/qt-5/qstorageinfo.html#mountedVolumes might be a workaround, even if it returns less detailed information. |
… /etc/mtab available (GitHub issue #195)
Please check out and test the latest Git master. |
… /etc/mtab available (GitHub issue #195)
… /etc/mtab available (GitHub issue #195)
Please test. I don't have a BSD installation readily available. |
3 weeks and no reply. Why do I even bother with exotic scenarios like this if not even the bug reporter gives a damn? |
5 weeks and no reply. Why do I even bother with exotic scenarios like this if not even the bug reporter gives a damn? |
Honestly sorry for no reply for long time. The fix is tested. All works except one segfault with trivial patch: |
Thank you for your project!
QDirStat tries to read /proc/mount and /etc/mtab files to fetch mount points. All mentioned files are Linux-specific. As results, "Cross Filesystems" option causes crash on BSD systems.
On FreeBSD there is "/sbin/mount" routine to fetch mount points in same format as fstab:
The output of this command is sufficient. I'm not QT/C++ developer and can't provide patch to solve issue.
Dirty hack is to read pre-populated file by mount command and it works fine for me.
Please feel free to ask questions.
The text was updated successfully, but these errors were encountered: