9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: 陈俊秀 <chenjunxiu0210@gmail.com>
To: 9fans@9fans.net
Subject: [9fans] mount the local foler in the virtual machine use 9p
Date: Wed, 11 Apr 2012 17:41:50 +0800	[thread overview]
Message-ID: <CAAtZ2Q-95ryuouXrfwipgBn0xz9JruLKQhvoqKdkXuLa-LHvtg@mail.gmail.com> (raw)

hi,

I try to mount the local foler in the vm, use the 9p protocol, it
mount success, enter the foler, i can read and write the files already
in the folder ,but can't create new folders and files in it. why and
how can i solve it?

i created the vm use qemu -fsdev
local,id=test_dev,path=/root/shared,security_model=none -device
virtio-9p-pci,fsdev=test_dev,mount_tag=test_mount
the guest vm is redhat with 2.6.32 kernel,  in the guest os terminal:
mount -t 9p -o trans=virtio test_mount /tmp/shared/ -
oversion=9p2000.L,posixacl,cache=loose
and it's no use when i update the kernel to higher .


thanks,
xiu



                 reply	other threads:[~2012-04-11  9:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAtZ2Q-95ryuouXrfwipgBn0xz9JruLKQhvoqKdkXuLa-LHvtg@mail.gmail.com \
    --to=chenjunxiu0210@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).