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

file locking #5

Open
rd235 opened this issue Oct 25, 2017 · 2 comments
Open

file locking #5

rd235 opened this issue Oct 25, 2017 · 2 comments
Labels

Comments

@rd235
Copy link
Member

rd235 commented Oct 25, 2017

File locking is not currently supported in vuos
Unfortunately there are many file locking APIs: fcntl, flock...

@rd235 rd235 added the feature label Oct 25, 2017
@steppp
Copy link

steppp commented Apr 14, 2020

I have some questions regarding this feature implementation:

  • when a locking SC should be virtualized? Always, in some cases (and what would these be?), ...
  • how can we define such cases? Using a system like vufs to virtualize only the locking SCs which use a file descriptor of a file in the virtualized tree?
  • what locking SCs should be virtualized? All, just the ones that shouldn't be allowed, ... ?
  • where does the code should be placed? In a (sub)module, as part of VUOS, ... ?

These are the first questions that come to mind when thinking about this feature.
I'd be happy to at least write a first implementation for this functionality but I need more info about it and some tips on how to start.

@steppp
Copy link

steppp commented Aug 17, 2020

PR #21 addresses this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants