-
Notifications
You must be signed in to change notification settings - Fork 3.8k
DriveInfo return empty space for system volume on MacOS 10.15 Catalina #17151
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
Comments
@kirill-erastov-distillery thanks for the bug report! Does The .NET documentation makes a fine distinction between
|
Oh actually I see that we'll return 0 for mono/mono/metadata/w32file-unix.c Lines 4446 to 4450 in d8040ba
|
@lambdageek thanks for a quick response. Yes, this volume is marked as read-only. |
No, I think TotalFreeSpace should be returning a nonzero value even if the drive is set to read-only. Should be an easy fix. |
Our logic around readonly drives is interesting, since what corefx seems to do is much simpler: I wonder if it's needed for some mobile platform? The history indicates it's existed since the initial implementation, but maybe we can just take all that out... |
Hmm, it seems that even |
[2019-10] [IO] Remove read-only logic in mono_w32_get_disk_free_space Fixes #17151 This brings us in line with GetDiskFreeSpaceExW on Windows as well as .NET Core. I checked with the Android folks and it seems like this won't fail their test - all they check is that the returned value isn't `long.MaxValue`. Backport of #17177. /cc @akoeplinger @CoffeeFlux
[2019-08] [IO] Remove read-only logic in mono_w32_get_disk_free_space Fixes #17151 This brings us in line with GetDiskFreeSpaceExW on Windows as well as .NET Core. I checked with the Android folks and it seems like this won't fail their test - all they check is that the returned value isn't `long.MaxValue`. Backport of #17177. /cc @akoeplinger @CoffeeFlux
Changes: mono/mono@5281037...7dbad3c Context: mono/mono#7377 Context: mono/mono#16570 Context: mono/mono#17004 Context: mono/mono#17151 Context: mono/mono#17180 * mono/mono@7dbad3c3618: [arm] Fix fetching of method addresses (#17253) * mono/mono@9a88a36789e: [sgen] Fix invalid value passed to write barrier (#17247) * mono/mono@0f241c975ce: [2019-08] Add drawing type converters to mobile profiles (#17240) * mono/mono@7ebe1a1763c: Update Roslyn to 3.4.0-beta2-19477-01 * mono/mono@b759449ba8d: Bump msbuild to track mono-2019-08 * mono/mono@617f399efca: [IO] Remove read-only logic in mono_w32_get_disk_free_space (#17211) * mono/mono@77258ea1122: [2019-08] [debugger][exception] Debugger breaks on handled exceptions (#17202) * mono/mono@f83c321f88f: Bump msbuild to track mono-2019-08 (#17193) * mono/mono@1ecd094b44c: [2019-08] [Mono.Debugger.Soft] Fix VirtualMachine detaching (#17077) * mono/mono@54a33be9dee: [merp] Put thread into async context before running summarizer (#17197) * mono/mono@72128bb00d3: Bump libgdiplus to 6.0.4 * mono/mono@65a972c0333: Always do copy_stack_data on entering GC safe/unsafe mode. (#17184) * mono/mono@9e6def1553b: [merp] exit_status is 0 if we ran the uploader successfully (#17187) * mono/mono@8a707cc0124: [2019-08] [reflection] Only duplicate MonoMarshalSpec strings for custom types (#17189) * mono/mono@bd72952cf82: [2019-08] [merp] Don't overrun buffer in copy_summary_string_safe … (#17178) * mono/mono@b6efc0cc906: Bump msbuild to track xplat-master (#17132) * mono/mono@2869cd5f67e: Bump ikvm to get mono/ikvm-fork#13 (#17170) * mono/mono@a64a25695d6: [2019-08] [merp] Use macOS version not Darwin version in MERP reports (#17147) * mono/mono@57f068438d4: [2019-08] [merp] Add API method that whitelists all native libraries (#17128)
@marek-safar any plan to backport this to stable (mono 6.4) ? since it affects people who updates to 10.15 (now stable) and |
mono/mono#17151 prevents xharness from running tests on Catalina, because xharness thinks the root drive has no more space.
@spouliot we can backport if that fits into your plans for servicing |
mono/mono#17151 prevents xharness from running tests on Catalina, because xharness thinks the root drive has no more space.
Changes: mono/mono@5281037...df5e13f Context: mono/mono#7377 Context: mono/mono#16570 Context: mono/mono#17004 Context: mono/mono#17151 Context: mono/mono#17180 * mono/mono@df5e13f95df: [tests] Bump corefx to get Azure testhost change (#17275) * mono/mono@11e1499c227: [2019-08] [merp] Print missing status marker file for stage 1 (setup) (#17220) * mono/mono@7dbad3c3618: [arm] Fix fetching of method addresses (#17253) * mono/mono@9a88a36789e: [sgen] Fix invalid value passed to write barrier (#17247) * mono/mono@0f241c975ce: [2019-08] Add drawing type converters to mobile profiles (#17240) * mono/mono@7ebe1a1763c: Update Roslyn to 3.4.0-beta2-19477-01 * mono/mono@b759449ba8d: Bump msbuild to track mono-2019-08 * mono/mono@617f399efca: [IO] Remove read-only logic in mono_w32_get_disk_free_space (#17211) * mono/mono@77258ea1122: [2019-08] [debugger][exception] Debugger breaks on handled exceptions (#17202) * mono/mono@f83c321f88f: Bump msbuild to track mono-2019-08 (#17193) * mono/mono@1ecd094b44c: [2019-08] [Mono.Debugger.Soft] Fix VirtualMachine detaching (#17077) * mono/mono@54a33be9dee: [merp] Put thread into async context before running summarizer (#17197) * mono/mono@72128bb00d3: Bump libgdiplus to 6.0.4 * mono/mono@65a972c0333: Always do copy_stack_data on entering GC safe/unsafe mode. (#17184) * mono/mono@9e6def1553b: [merp] exit_status is 0 if we ran the uploader successfully (#17187) * mono/mono@8a707cc0124: [2019-08] [reflection] Only duplicate MonoMarshalSpec strings for custom types (#17189) * mono/mono@bd72952cf82: [2019-08] [merp] Don't overrun buffer in copy_summary_string_safe … (#17178) * mono/mono@b6efc0cc906: Bump msbuild to track xplat-master (#17132) * mono/mono@2869cd5f67e: Bump ikvm to get mono/ikvm-fork#13 (#17170) * mono/mono@a64a25695d6: [2019-08] [merp] Use macOS version not Darwin version in MERP reports (#17147) * mono/mono@57f068438d4: [2019-08] [merp] Add API method that whitelists all native libraries (#17128)
Changes: mono/mono@5281037...df5e13f Context: mono/mono#7377 Context: mono/mono#16570 Context: mono/mono#17004 Context: mono/mono#17151 Context: mono/mono#17180 * mono/mono@df5e13f95df: [tests] Bump corefx to get Azure testhost change (#17275) * mono/mono@11e1499c227: [2019-08] [merp] Print missing status marker file for stage 1 (setup) (#17220) * mono/mono@7dbad3c3618: [arm] Fix fetching of method addresses (#17253) * mono/mono@9a88a36789e: [sgen] Fix invalid value passed to write barrier (#17247) * mono/mono@0f241c975ce: [2019-08] Add drawing type converters to mobile profiles (#17240) * mono/mono@7ebe1a1763c: Update Roslyn to 3.4.0-beta2-19477-01 * mono/mono@b759449ba8d: Bump msbuild to track mono-2019-08 * mono/mono@617f399efca: [IO] Remove read-only logic in mono_w32_get_disk_free_space (#17211) * mono/mono@77258ea1122: [2019-08] [debugger][exception] Debugger breaks on handled exceptions (#17202) * mono/mono@f83c321f88f: Bump msbuild to track mono-2019-08 (#17193) * mono/mono@1ecd094b44c: [2019-08] [Mono.Debugger.Soft] Fix VirtualMachine detaching (#17077) * mono/mono@54a33be9dee: [merp] Put thread into async context before running summarizer (#17197) * mono/mono@72128bb00d3: Bump libgdiplus to 6.0.4 * mono/mono@65a972c0333: Always do copy_stack_data on entering GC safe/unsafe mode. (#17184) * mono/mono@9e6def1553b: [merp] exit_status is 0 if we ran the uploader successfully (#17187) * mono/mono@8a707cc0124: [2019-08] [reflection] Only duplicate MonoMarshalSpec strings for custom types (#17189) * mono/mono@bd72952cf82: [2019-08] [merp] Don't overrun buffer in copy_summary_string_safe … (#17178) * mono/mono@b6efc0cc906: Bump msbuild to track xplat-master (#17132) * mono/mono@2869cd5f67e: Bump ikvm to get mono/ikvm-fork#13 (#17170) * mono/mono@a64a25695d6: [2019-08] [merp] Use macOS version not Darwin version in MERP reports (#17147) * mono/mono@57f068438d4: [2019-08] [merp] Add API method that whitelists all native libraries (#17128)
Changes: mono/mono@5281037...3eb5f34 Fixes: dotnet#3726 Context: mono/mono@0f241c9 Context: mono/mono#7377 Context: mono/mono#16570 Context: mono/mono#17004 Context: mono/mono#17151 Context: mono/mono#17180 * mono/mono@3eb5f34f541: [GTK] Bump bockbuild for GtkViewport autoscrolling patch. (#17321) * mono/mono@b601371d5f0: Update MERP event type to MonoAppCrash * mono/mono@6184ff007b2: [2019-08][ci] Use Xcode11.1 and 11.2beta2 for XI/XM Mono SDK builds (#17324) * mono/mono@8969f2cc99b: [2019-08] [merp] Include any managed methods in the 'unmanaged_frames' portion (#17316) * mono/mono@30094401081: [2019-08][merp] Don't install SIGTERM handler in EnableMicrosoftTelemetry (#17308) * mono/mono@df5e13f95df: [tests] Bump corefx to get Azure testhost change (#17275) * mono/mono@11e1499c227: [2019-08] [merp] Print missing status marker file for stage 1 (setup) (#17220) * mono/mono@7dbad3c3618: [arm] Fix fetching of method addresses (#17253) * mono/mono@9a88a36789e: [sgen] Fix invalid value passed to write barrier (#17247) * mono/mono@0f241c975ce: [2019-08] Add drawing type converters to mobile profiles (#17240) * mono/mono@7ebe1a1763c: Update Roslyn to 3.4.0-beta2-19477-01 * mono/mono@b759449ba8d: Bump msbuild to track mono-2019-08 * mono/mono@617f399efca: [IO] Remove read-only logic in mono_w32_get_disk_free_space (#17211) * mono/mono@77258ea1122: [2019-08] [debugger][exception] Debugger breaks on handled exceptions (#17202) * mono/mono@f83c321f88f: Bump msbuild to track mono-2019-08 (#17193) * mono/mono@1ecd094b44c: [2019-08] [Mono.Debugger.Soft] Fix VirtualMachine detaching (#17077) * mono/mono@54a33be9dee: [merp] Put thread into async context before running summarizer (#17197) * mono/mono@72128bb00d3: Bump libgdiplus to 6.0.4 * mono/mono@65a972c0333: Always do copy_stack_data on entering GC safe/unsafe mode. (#17184) * mono/mono@9e6def1553b: [merp] exit_status is 0 if we ran the uploader successfully (#17187) * mono/mono@8a707cc0124: [2019-08] [reflection] Only duplicate MonoMarshalSpec strings for custom types (#17189) * mono/mono@bd72952cf82: [2019-08] [merp] Don't overrun buffer in copy_summary_string_safe … (#17178) * mono/mono@b6efc0cc906: Bump msbuild to track xplat-master (#17132) * mono/mono@2869cd5f67e: Bump ikvm to get mono/ikvm-fork#13 (#17170) * mono/mono@a64a25695d6: [2019-08] [merp] Use macOS version not Darwin version in MERP reports (#17147) * mono/mono@57f068438d4: [2019-08] [merp] Add API method that whitelists all native libraries (#17128)
Changes: https://github.com/mono/mono/compare/528103728fc2aedb7b6062e11255d39a0ed3f31c... df5e13f95df7a2d11d86904e74b1bd8950c9d43b Fixes: #3726 Context: mono/mono@0f241c9 Context: mono/mono#7377 Context: mono/mono#16570 Context: mono/mono#17004 Context: mono/mono#17151 Context: mono/mono#17180 * mono/mono@df5e13f95df: [tests] Bump corefx to get Azure testhost change (#17275) * mono/mono@11e1499c227: [2019-08] [merp] Print missing status marker file for stage 1 (setup) (#17220) * mono/mono@7dbad3c3618: [arm] Fix fetching of method addresses (#17253) * mono/mono@9a88a36789e: [sgen] Fix invalid value passed to write barrier (#17247) * mono/mono@0f241c975ce: [2019-08] Add drawing type converters to mobile profiles (#17240) * mono/mono@7ebe1a1763c: Update Roslyn to 3.4.0-beta2-19477-01 * mono/mono@b759449ba8d: Bump msbuild to track mono-2019-08 * mono/mono@617f399efca: [IO] Remove read-only logic in mono_w32_get_disk_free_space (#17211) * mono/mono@77258ea1122: [2019-08] [debugger][exception] Debugger breaks on handled exceptions (#17202) * mono/mono@f83c321f88f: Bump msbuild to track mono-2019-08 (#17193) * mono/mono@1ecd094b44c: [2019-08] [Mono.Debugger.Soft] Fix VirtualMachine detaching (#17077) * mono/mono@54a33be9dee: [merp] Put thread into async context before running summarizer (#17197) * mono/mono@72128bb00d3: Bump libgdiplus to 6.0.4 * mono/mono@65a972c0333: Always do copy_stack_data on entering GC safe/unsafe mode. (#17184) * mono/mono@9e6def1553b: [merp] exit_status is 0 if we ran the uploader successfully (#17187) * mono/mono@8a707cc0124: [2019-08] [reflection] Only duplicate MonoMarshalSpec strings for custom types (#17189) * mono/mono@bd72952cf82: [2019-08] [merp] Don't overrun buffer in copy_summary_string_safe … (#17178) * mono/mono@b6efc0cc906: Bump msbuild to track xplat-master (#17132) * mono/mono@2869cd5f67e: Bump ikvm to get mono/ikvm-fork#13 (#17170) * mono/mono@a64a25695d6: [2019-08] [merp] Use macOS version not Darwin version in MERP reports (#17147) * mono/mono@57f068438d4: [2019-08] [merp] Add API method that whitelists all native libraries (#17128)
mono/mono#17151 prevents xharness from running tests on Catalina, because xharness thinks the root drive has no more space.
mono/mono#17151 prevents xharness from running tests on Catalina, because xharness thinks the root drive has no more space.
Changes: mono/mono@5281037...3eb5f34 Fixes: #3726 Context: mono/mono@0f241c9 Context: mono/mono#7377 Context: mono/mono#16570 Context: mono/mono#17004 Context: mono/mono#17151 Context: mono/mono#17180 * mono/mono@3eb5f34f541: [GTK] Bump bockbuild for GtkViewport autoscrolling patch. (#17321) * mono/mono@b601371d5f0: Update MERP event type to MonoAppCrash * mono/mono@6184ff007b2: [2019-08][ci] Use Xcode11.1 and 11.2beta2 for XI/XM Mono SDK builds (#17324) * mono/mono@8969f2cc99b: [2019-08] [merp] Include any managed methods in the 'unmanaged_frames' portion (#17316) * mono/mono@30094401081: [2019-08][merp] Don't install SIGTERM handler in EnableMicrosoftTelemetry (#17308) * mono/mono@df5e13f95df: [tests] Bump corefx to get Azure testhost change (#17275) * mono/mono@11e1499c227: [2019-08] [merp] Print missing status marker file for stage 1 (setup) (#17220) * mono/mono@7dbad3c3618: [arm] Fix fetching of method addresses (#17253) * mono/mono@9a88a36789e: [sgen] Fix invalid value passed to write barrier (#17247) * mono/mono@0f241c975ce: [2019-08] Add drawing type converters to mobile profiles (#17240) * mono/mono@7ebe1a1763c: Update Roslyn to 3.4.0-beta2-19477-01 * mono/mono@b759449ba8d: Bump msbuild to track mono-2019-08 * mono/mono@617f399efca: [IO] Remove read-only logic in mono_w32_get_disk_free_space (#17211) * mono/mono@77258ea1122: [2019-08] [debugger][exception] Debugger breaks on handled exceptions (#17202) * mono/mono@f83c321f88f: Bump msbuild to track mono-2019-08 (#17193) * mono/mono@1ecd094b44c: [2019-08] [Mono.Debugger.Soft] Fix VirtualMachine detaching (#17077) * mono/mono@54a33be9dee: [merp] Put thread into async context before running summarizer (#17197) * mono/mono@72128bb00d3: Bump libgdiplus to 6.0.4 * mono/mono@65a972c0333: Always do copy_stack_data on entering GC safe/unsafe mode. (#17184) * mono/mono@9e6def1553b: [merp] exit_status is 0 if we ran the uploader successfully (#17187) * mono/mono@8a707cc0124: [2019-08] [reflection] Only duplicate MonoMarshalSpec strings for custom types (#17189) * mono/mono@bd72952cf82: [2019-08] [merp] Don't overrun buffer in copy_summary_string_safe … (#17178) * mono/mono@b6efc0cc906: Bump msbuild to track xplat-master (#17132) * mono/mono@2869cd5f67e: Bump ikvm to get mono/ikvm-fork#13 (#17170) * mono/mono@a64a25695d6: [2019-08] [merp] Use macOS version not Darwin version in MERP reports (#17147) * mono/mono@57f068438d4: [2019-08] [merp] Add API method that whitelists all native libraries (#17128)
mono/mono#17151 prevents xharness from running tests on Catalina, because xharness thinks the root drive has no more space.
mono/mono#17151 prevents xharness from running tests on Catalina, because xharness thinks the root drive has no more space.
Changes: mono/api-snapshot@fc50bc4...45a61d9 $ git diff --shortstat fc50bc4f...45a61d93 22 files changed, 775 insertions(+), 474 deletions(-) Changes: dotnet/cecil@a6c8f5e...a6a7f5c $ git diff --shortstat a6c8f5e1...a6a7f5c0 55 files changed, 818 insertions(+), 530 deletions(-) Changes: mono/corefx@1f87de3...49f1c45 $ git diff --shortstat e4f7102b...49f1c453 38 files changed, 1171 insertions(+), 419 deletions(-) Changes: dotnet/linker@ebe2a1f...e8d054b $ git diff --shortstat ebe2a1f4...e8d054bf 137 files changed, 5360 insertions(+), 1781 deletions(-) Changes: mono/mono@8946e49...18920a8 $ git diff --shortstat 8946e49a...18920a83 1811 files changed, 47240 insertions(+), 48331 deletions(-) Changes: xamarin/xamarin-android-api-compatibility@a61271e...50a3c52 $ git diff --shortstat a61271e0...50a3c52d 1 file changed, 2 insertions(+), 791 deletions(-) Fixes: #3619 Context: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1005448 Context: https://devdiv.visualstudio.com/DefaultCollection/DevDiv/_workitems/edit/967582 Context: https://github.com/dotnet/coreclr/issues/26370 Context: https://github.com/dotnet/coreclr/issues/26479 Context: https://github.com/dotnet/corefx/issues/40455 Context: https://github.com/dotnet/corefx/issues/40578 Context: mono/mono#7377 Context: mono/mono#12421 Context: mono/mono#12586 Context: mono/mono#14080 Context: mono/mono#14725 Context: mono/mono#14772 Context: mono/mono#15261 Context: mono/mono#15262 Context: mono/mono#15263 Context: mono/mono#15307 Context: mono/mono#15308 Context: mono/mono#15310 Context: mono/mono#15646 Context: mono/mono#15687 Context: mono/mono#15805 Context: mono/mono#15992 Context: mono/mono#15994 Context: mono/mono#15999 Context: mono/mono#16032 Context: mono/mono#16034 Context: mono/mono#16046 Context: mono/mono#16192 Context: mono/mono#16308 Context: mono/mono#16310 Context: mono/mono#16369 Context: mono/mono#16380 Context: mono/mono#16381 Context: mono/mono#16395 Context: mono/mono#16411 Context: mono/mono#16415 Context: mono/mono#16486 Context: mono/mono#16570 Context: mono/mono#16605 Context: mono/mono#16616 Context: mono/mono#16689 Context: mono/mono#16701 Context: mono/mono#16712 Context: mono/mono#16742 Context: mono/mono#16759 Context: mono/mono#16803 Context: mono/mono#16808 Context: mono/mono#16824 Context: mono/mono#16876 Context: mono/mono#16879 Context: mono/mono#16918 Context: mono/mono#16943 Context: mono/mono#16950 Context: mono/mono#16974 Context: mono/mono#17004 Context: mono/mono#17017 Context: mono/mono#17038 Context: mono/mono#17040 Context: mono/mono#17083 Context: mono/mono#17084 Context: mono/mono#17133 Context: mono/mono#17139 Context: mono/mono#17151 Context: mono/mono#17180 Context: mono/mono#17278 Context: mono/mono#17549 Context: mono/mono#17569 Context: mono/mono#17665 Context: mono/mono#17687 Context: mono/mono#17737 Context: mono/mono#17790 Context: mono/mono#17924 Context: mono/mono#17931 Context: https://github.com/mono/mono/issues/26758 Context: https://github.com/mono/mono/issues/37913 Context: dotnet/macios#7005
Changes: mono/api-snapshot@fc50bc4...45a61d9 $ git diff --shortstat fc50bc4f...45a61d93 22 files changed, 775 insertions(+), 474 deletions(-) Changes: dotnet/cecil@a6c8f5e...a6a7f5c $ git diff --shortstat a6c8f5e1...a6a7f5c0 55 files changed, 818 insertions(+), 530 deletions(-) Changes: mono/corefx@1f87de3...49f1c45 $ git diff --shortstat e4f7102b...49f1c453 38 files changed, 1171 insertions(+), 419 deletions(-) Changes: dotnet/linker@ebe2a1f...e8d054b $ git diff --shortstat ebe2a1f4...e8d054bf 137 files changed, 5360 insertions(+), 1781 deletions(-) Changes: mono/mono@8946e49...18920a8 $ git diff --shortstat 8946e49a...18920a83 1811 files changed, 47240 insertions(+), 48331 deletions(-) Changes: xamarin/xamarin-android-api-compatibility@a61271e...50a3c52 $ git diff --shortstat a61271e0...50a3c52d 1 file changed, 2 insertions(+), 791 deletions(-) Fixes: #3619 Context: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1005448 Context: https://devdiv.visualstudio.com/DefaultCollection/DevDiv/_workitems/edit/967582 Context: https://github.com/dotnet/coreclr/issues/26370 Context: https://github.com/dotnet/coreclr/issues/26479 Context: https://github.com/dotnet/corefx/issues/40455 Context: https://github.com/dotnet/corefx/issues/40578 Context: mono/mono#7377 Context: mono/mono#12421 Context: mono/mono#12586 Context: mono/mono#14080 Context: mono/mono#14725 Context: mono/mono#14772 Context: mono/mono#15261 Context: mono/mono#15262 Context: mono/mono#15263 Context: mono/mono#15307 Context: mono/mono#15308 Context: mono/mono#15310 Context: mono/mono#15646 Context: mono/mono#15687 Context: mono/mono#15805 Context: mono/mono#15992 Context: mono/mono#15994 Context: mono/mono#15999 Context: mono/mono#16032 Context: mono/mono#16034 Context: mono/mono#16046 Context: mono/mono#16192 Context: mono/mono#16308 Context: mono/mono#16310 Context: mono/mono#16369 Context: mono/mono#16380 Context: mono/mono#16381 Context: mono/mono#16395 Context: mono/mono#16411 Context: mono/mono#16415 Context: mono/mono#16486 Context: mono/mono#16570 Context: mono/mono#16605 Context: mono/mono#16616 Context: mono/mono#16689 Context: mono/mono#16701 Context: mono/mono#16712 Context: mono/mono#16742 Context: mono/mono#16759 Context: mono/mono#16803 Context: mono/mono#16808 Context: mono/mono#16824 Context: mono/mono#16876 Context: mono/mono#16879 Context: mono/mono#16918 Context: mono/mono#16943 Context: mono/mono#16950 Context: mono/mono#16974 Context: mono/mono#17004 Context: mono/mono#17017 Context: mono/mono#17038 Context: mono/mono#17040 Context: mono/mono#17083 Context: mono/mono#17084 Context: mono/mono#17133 Context: mono/mono#17139 Context: mono/mono#17151 Context: mono/mono#17180 Context: mono/mono#17278 Context: mono/mono#17549 Context: mono/mono#17569 Context: mono/mono#17665 Context: mono/mono#17687 Context: mono/mono#17737 Context: mono/mono#17790 Context: mono/mono#17924 Context: mono/mono#17931 Context: https://github.com/mono/mono/issues/26758 Context: https://github.com/mono/mono/issues/37913 Context: dotnet/macios#7005
Changes: mono/api-snapshot@6f14e43...8ea1d66 $ git diff --shortstat 6f14e433...8ea1d663 21 files changed, 719 insertions(+), 444 deletions(-) Changes: mono/boringssl@4ca62c5...d7b108e $ git diff --shortstat 4ca62c57...d7b108ee 1 file changed, 1 insertion(+) Changes: dotnet/cecil@cb6c1ca...a6a7f5c $ git diff --shortstat cb6c1ca9...a6a7f5c0 47 files changed, 587 insertions(+), 444 deletions(-) Changes: mono/corefx@10a41e9...5940515 $ git diff --shortstat 10a41e9f...59405155 55 files changed, 1382 insertions(+), 369 deletions(-) Changes: mono/mono@18920a8...2edccc5 $ git diff --shortstat 18920a83...2edccc52 1393 files changed, 44742 insertions(+), 90381 deletions(-) Context: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1005448 Context: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1005448 Context: KSP-CKAN/CKAN#2881 Context: mono/mono#10559 Context: mono/mono#12249 Context: mono/mono#12337 Context: mono/mono#12995 Context: mono/mono#13777 Context: mono/mono#15006 Context: mono/mono#15010 Context: mono/mono#15181 Context: mono/mono#15805 Context: mono/mono#15845 Context: mono/mono#16026 Context: mono/mono#16206 Context: mono/mono#16410 Context: mono/mono#16513 Context: mono/mono#16557 Context: mono/mono#16588 Context: mono/mono#16632 Context: mono/mono#16701 Context: mono/mono#16778 Context: mono/mono#17053 Context: mono/mono#17084 Context: mono/mono#17133 Context: mono/mono#17151 Context: mono/mono#17161 Context: mono/mono#17190 Context: mono/mono#17278 Context: mono/mono#17278 Context: mono/mono#17317 Context: mono/mono#17367 Context: mono/mono#17389 Context: mono/mono#17546 Context: mono/mono#17549 Context: mono/mono#17569 Context: mono/mono#17601 Context: mono/mono#17665 Context: mono/mono#17687 Context: mono/mono#17737 Context: mono/mono#17790 Context: mono/mono#17869 Context: mono/mono#17878 Context: mono/mono#17916 Context: mono/mono#17924 Context: mono/mono#17926 Context: mono/mono#17931 Context: mono/mono#18213 Context: mono/mono#18221 Context: mono/mono#18273 Context: mono/mono#18276 Context: mono/mono#18317 Context: mono/mono#18388 Context: mono/mono#18455
Steps to Reproduce
Test.cs with test case attached
Current Behavior
available space is set to 0.
Test.exe output:
/: 0
/dev: 0
/System/Volumes/Data: 54000906240
/private/var/vm: 54000906240
/System/Volumes/Data/home: 0
Expected Behavior
appropriate available size should be returned
Additional Info
Please note, that in macOS Catalina, Apple introduced new filesystem security feature, called volume replication. It means that System volume now mounts with read only permissions. And real system volume with write permissions is mounted as mirror volume at /System/Volumes/Data location (amd it shows real ).
I've also tried to run simple C programm to figure out if statfs and statvfs system calls are working fine. This test code attached as test.c
and output:
54006734848, 54006734848
so POSIX calls are working just fine
Attachment
Tests.zip
On which platforms did you notice this
[x] macOS
[ ] Linux
[ ] Windows
Version Used:
6.4.0.198
macOS 10.15 beta 10
The text was updated successfully, but these errors were encountered: