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

Support running on BSDs #3

Open
ifd3f opened this issue Mar 5, 2023 · 2 comments
Open

Support running on BSDs #3

ifd3f opened this issue Mar 5, 2023 · 2 comments
Labels
os: freebsd Issues specific to the FreeBSD build.

Comments

@ifd3f
Copy link
Owner

ifd3f commented Mar 5, 2023

No description provided.

@ifd3f ifd3f added feature New feature to add to the program itself. Does not include refactors or platform support. os: freebsd Issues specific to the FreeBSD build. labels Mar 6, 2023
@ifd3f ifd3f removed the feature New feature to add to the program itself. Does not include refactors or platform support. label Mar 14, 2023
@ifd3f ifd3f changed the title Support BSDs Support running on BSDs Nov 9, 2023
@eliphazbouye
Copy link

eliphazbouye commented May 9, 2024

Can I work on this one ? @ifd3f

@ifd3f
Copy link
Owner Author

ifd3f commented May 9, 2024

@SophonieBouye Yes, that would be cool!

If you're able to get the compilation, USB listing, sudo/doas escalation, and burn working, that would be really neat. That's not enough to close the issue, because I'll likely want to set up automated CI tests and builds, but this would get us pretty far in terms of that.

If you'd like some code pointers, the cross-platform parts you will likely want to modify are in device.rs and writer_process/xplat.rs.

#105 might block you on the disk writing part -- I'm not exactly sure how BSDs handle writes to block devices, but if they require that you write a multiple of the block size like in MacOS, you might get stuck on that. I'm currently writing a fix for it, so it might not end up blocking you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: freebsd Issues specific to the FreeBSD build.
Projects
None yet
Development

No branches or pull requests

2 participants