Skip to content

Unmount does not stop bcache #1370

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

Open
Atemu opened this issue Mar 28, 2025 · 0 comments
Open

Unmount does not stop bcache #1370

Atemu opened this issue Mar 28, 2025 · 0 comments

Comments

@Atemu
Copy link

Atemu commented Mar 28, 2025

I have an external disk that I stupidly formatted with bcache (atop of LUKS).

Unlocking and mounting works fine and udiskctl interactively prompts me to escalate privileges to activate the bcache.

When attempting to do the inverse however, it unmounts fine but then can't lock because the bcache is still active. I then have to manually figure out the associated bcache device and then manually write a magic string into a magic file.

Unmount should have at least the option to stop a bcache again or perhaps even do so by default as mount does too when performing the inverse operations.

Speaking of bcache: Is there a reason why I'm even prompted for privilege escalation here? Isn't it the whole point of udisks to allow unprivileged users to mount disks in a standardised abstract manner?
There also generally does not appear to be any documentation regarding udisks interaction with bcache which I found quite confusing.

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

No branches or pull requests

1 participant