Skip to content

Can't identify mount points on BSD systems #195

@mizhka

Description

@mizhka

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:

/sbin/mount -p

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions