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

Enable ln in Busybox #190

Closed
wants to merge 2 commits into from
Closed

Enable ln in Busybox #190

wants to merge 2 commits into from

Conversation

GregMefford
Copy link
Contributor

This is the first step in enabling configfs and ultimately solving the following:

We had high hopes that OTP21 would allow us to directly create symlinks in configfs paths from Elixir (using File.ln_s!), but it does not work. Writing the other files under configfs (using File.write!) does work in OTP 21, though.

@GregMefford
Copy link
Contributor Author

Actually, never mind! I was just mis-using File.ln_s! in that you have to tell it the file name you want the symlink to have in the second argument (which is different than ln -s on the command-line, which infers the same file name as the source).

Hooray for OTP 21! 🎉

@mobileoverlord mobileoverlord deleted the enable-busybox-ln branch August 8, 2018 14:15
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.

1 participant