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

libmount: detect lost loop device #2605

Closed
karelzak opened this issue Nov 27, 2023 · 0 comments
Closed

libmount: detect lost loop device #2605

karelzak opened this issue Nov 27, 2023 · 0 comments
Labels
TODO We going to think about it ;-)

Comments

@karelzak
Copy link
Collaborator

Now losetup reports if there is no /dev/loopN node (see a6ca045). We need the same for libmount (call loopcxt_is_lost(lc) and report it).

The proper solution will probably require generating the error message in hook_loopdev.c and saving it in the mount context (probably something like see #2314 ;-).

@karelzak karelzak added the TODO We going to think about it ;-) label Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TODO We going to think about it ;-)
Projects
None yet
Development

No branches or pull requests

1 participant