diff options
author | Rob Landley <rob@landley.net> | 2011-05-23 21:46:56 -0500 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2011-05-25 08:46:39 -0500 |
commit | e75762fdcd27c1d0293d9160b3ac6dcb3371272a (patch) | |
tree | 9bf70b521a8cc3b6938a4e3baec762b6a95f8611 /net/9p/trans_common.h | |
parent | fe1cbabaea5e99a93bafe12fbf1b3b9cc71b610a (diff) | |
download | kernel_samsung_tuna-e75762fdcd27c1d0293d9160b3ac6dcb3371272a.zip kernel_samsung_tuna-e75762fdcd27c1d0293d9160b3ac6dcb3371272a.tar.gz kernel_samsung_tuna-e75762fdcd27c1d0293d9160b3ac6dcb3371272a.tar.bz2 |
net/9p: enable 9p to work in non-default network namespace
Teach 9p filesystem to work in container with non-default network namespace.
(Note: I also patched the unix domain socket code but don't have a test case
for that. It's the same fix, I just don't have a server for it...)
To test, run diod server (http://code.google.com/p/diod):
diod -n -f -L stderr -l 172.23.255.1:9999 -c /dev/null -e /root
and then mount like so:
mount -t 9p -o port=9999,aname=/root,version=9p2000.L 172.23.255.1 /mnt
A container test environment is described at http://landley.net/lxc
Signed-off-by: Rob Landley <rob@landley.net>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net/9p/trans_common.h')
0 files changed, 0 insertions, 0 deletions