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

Delete a ramdisk #182

Open
egranata opened this issue Jan 27, 2019 · 0 comments
Open

Delete a ramdisk #182

egranata opened this issue Jan 27, 2019 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@egranata
Copy link
Owner

There should be an ioctl that allows removing a ramdisk volume from the system, freeing up its memory allocation

Things that would be worth doing as part of this:

  • callbacks on Volumes to inform them of mount/unmount actions (so the ramdisk can keep a refcount and deny the deletion if it's mounted anywhere);
  • allocating ramdisks into a region instead of the heap
@egranata egranata added enhancement New feature or request good first issue Good for newcomers labels Jan 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant