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

Fix linux 9p2000.u mounts #33

Merged
merged 5 commits into from
Nov 29, 2015
Merged

Fix linux 9p2000.u mounts #33

merged 5 commits into from
Nov 29, 2015

Conversation

djs55
Copy link
Member

@djs55 djs55 commented Nov 29, 2015

  • respond to multiple Attach calls
  • include the extension Stat fields
  • allow symlink creation

In particular this adds supports for symlinks. Support for block and
character devices is partial: the extension string will include the "b"
or "c" but the major and minor numbers are currently set to 0.

Signed-off-by: David Scott <dave.scott@unikernel.com>
Signed-off-by: David Scott <dave.scott@unikernel.com>
The client can send `Attach` to bind fids to different filesystems
served by the same server. Linux in 9p2000.u mode will do this quite a
lot.

This patches fixes Linux 9p2000.u mounts of `lofs`.

Signed-off-by: David Scott <dave.scott@unikernel.com>
Signed-off-by: David Scott <dave.scott@unikernel.com>
This copes better with the case where the symlink is dangling. The
generated qid will refer to the symlink rather than the linked file.

Signed-off-by: David Scott <dave.scott@unikernel.com>
djs55 added a commit that referenced this pull request Nov 29, 2015
Fix linux 9p2000.u mounts
@djs55 djs55 merged commit e6c62b0 into mirage:master Nov 29, 2015
@djs55 djs55 deleted the remove branch November 29, 2015 16:09
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