Skip to content
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

When mounts is empty, skip the file system size check #872

Closed
wants to merge 1 commit into from
Closed

When mounts is empty, skip the file system size check #872

wants to merge 1 commit into from

Conversation

HeroesLoveToRoujiamo
Copy link

@HeroesLoveToRoujiamo HeroesLoveToRoujiamo commented Mar 31, 2021

If mounts is empty (the disk is not mounted), skip the file system size check
to prevent the "size" from being unable to be obtained immediately when the
disk is performing other operations (such as formatting), causing the udisks
process to wait for a long time. #871

Signed-off-by: changlianzhi changlianzhi@uniontech.com

…e check

If mounts is empty (the disk is not mounted), skip the file system size check
 to prevent the "size" from being unable to be obtained immediately when the
disk is performing other operations (such as formatting), causing the udisks
process to wait for a long time.

Signed-off-by: changlianzhi <changlianzhi@uniontech.com>
@HeroesLoveToRoujiamo HeroesLoveToRoujiamo changed the title When mounts is empty, skip the file system size check #871 When mounts is empty, skip the file system size check Mar 31, 2021
@StorageGhoul
Copy link

Can one of the admins verify this patch?

Copy link
Member

@tbzatek tbzatek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The org.freedesktop.UDisks2.Filesystem.Size property is supposed to be available also on non-mounted filesystem.

We've been fighting with updates of this property for a long time since it involves calling an external tool. Unfortunately it's already part of a public API and can't be changed like this.

@HeroesLoveToRoujiamo
Copy link
Author

HeroesLoveToRoujiamo commented Apr 1, 2021

New commit: #873

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants