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

Investigate loopfs #36

Open
mdaffin opened this issue Jun 2, 2021 · 1 comment
Open

Investigate loopfs #36

mdaffin opened this issue Jun 2, 2021 · 1 comment

Comments

@mdaffin
Copy link
Owner

mdaffin commented Jun 2, 2021

Seems there is a new way to interact with loop devices, in particular private loop devices via mounting loopfs to some location. From a quick glance it looks like you can have different locations for loop-control and loop* devices other than /dev. Maybe this is what android is doing under the hood? We might need a more generic approach then the swapping out the LOOP_PREFIX depending on the target.

https://lwn.net/Articles/819625/

@mdaffin
Copy link
Owner Author

mdaffin commented Jun 3, 2021

Looks like it has been implemented, and been discussed but is not close to being mainlined yet. Which basically means we cannot yet use it for testing. However that article does suggest loop device usage by unprivileged users which would help a lot with the testing issues we are facing. If/when this makes it into mainline it seems like a viable option to use. However we will see how long that will take.

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