diff --git a/src/apple/disk.rs b/src/apple/disk.rs index 5f5150ec1..f37eaf07a 100644 --- a/src/apple/disk.rs +++ b/src/apple/disk.rs @@ -128,6 +128,10 @@ pub(super) fn get_disks() -> Vec { None => continue, }; + // Future note: There is a difference between `kCFURLVolumeIsBrowsableKey` and the + // `kCFURLEnumeratorSkipInvisibles` option of `CFURLEnumeratorOptions`. Specifically, + // the first one considers the writable `Data`(`/System/Volumes/Data`) partition to be + // browsable, while it is classified as "invisible" by CoreFoundation's volume emumerator. let browsable = unsafe { get_bool_value( prop_dict.inner(),