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

Allow overwriting non-empty rootfs directories via fstab mounts #1080

Open
nderjung opened this issue Aug 31, 2023 · 3 comments
Open

Allow overwriting non-empty rootfs directories via fstab mounts #1080

nderjung opened this issue Aug 31, 2023 · 3 comments
Labels
kind/enhancement New feature or request

Comments

@nderjung
Copy link
Member

nderjung commented Aug 31, 2023

Feature request summary

This issue tracks the ability to overwrite an existing non-empty directory via a user-provided fstab mount. Presently, when a preseeded root filesystem is provided to an instance, for example via initramfs, and an additional fstab mount is set to a path within this filesystem to a non-empty directory, the mount is not respected and the existing directory remains. However, when the directory is empty, the contents are correctly mounted.

Potentially it should also be possible to do this same type of operation but for a single file (in the case of 9pfs mount), however, I am not sure if this easily feasible.

Describe alternatives

No response

Related architectures

None

Related platforms

None

Additional context

No response

@nderjung nderjung added the kind/enhancement New feature or request label Aug 31, 2023
@AllMight2099
Copy link

Hi @nderjung
I'd like to work on this issue, if that's alright? I have an approach in my head, but I would have some questions and doubts as I keep going

@nderjung
Copy link
Member Author

nderjung commented Sep 18, 2023

Hi @AllMight2099, that is certainly alright and thank you for considering to contribute to the Unikraft Open Source Project! Let's keep all discussions on this issue; please could write down in a comment what your approach is, the questions and doubts you have, we can work towards a solution for this issue. Thanks!

@AllMight2099
Copy link

AllMight2099 commented Sep 27, 2023

Hi @nderjung
Sorry about the delay, had a few problems at work. I'm back now and do have a few questions:

  1. Does "preseeded filesystem" mean that I create a build with a file system by default or does it mean that I'm mounting it externally using qemu?
  2. Also, is there any documentation or link that could help me reproduce this issue? I looked at the documentation on the unikernel website and I couldn't find anything that I could use to mount a file system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
Status: 🧊 Icebox
Development

No branches or pull requests

2 participants