adileo / squirreldisk

Beautiful, Cross-Platform and Super Fast Disk Usage Analysis Tool - Built With Rust 🦀
https://squirreldisk.com
GNU Affero General Public License v3.0
741 stars 24 forks source link

On windows, selecting folder that coincides with a mounted path does not calculate diskspace #13

Open hgkamath opened 1 year ago

hgkamath commented 1 year ago

20230602 win10 22H2 19045.3031 squirreldisk 0.3.4

Firstly, a thank-you to developer(s) for efforts towards this open-source project.

Windows-OS usually assigns an available drive letter to newly discovered volumes. It is possible for an administrative user to instead use a mount point to a path on existing filesystem, by using diskgmt.msc, right-clicking a volume and selecting 'Change Drive letter and paths'.
Example of mounted locations include

Steps to reproduce

I can see why not descending a mount point is a good thing when scanning a higher-level folder/drive that has mounted folders.
This prevents the app from descending into a mount point and mis-accounting the available and used space.
However, an exception may need to be made when the user explicitly specifies a mounted folder as the top-level folder.