Open roscp opened 7 years ago
For example, if you want to mount sources.cs.bell-labs.com (135.104.24.18) from Linux, using v9fs, you can do:
Without authentication (no need for plan9port in this case):
$ mount -t 9p -o tcp,trans=tcp,uname=djc 135.104.24.18 /n/sources
The uname option is only needed if you want to mount as a particular user.
You'll need to resolve the IP address on your side since neither mount
nor the Linux kernel do DNS resolution. You can also use 9mount
which is a wrapper on mount -t 9p
(http://sqweek.net/code/9mount/).
With authentication (using factotum
and srv
provided in plan9port):
$ factotum -n
$ srv -a -k user=djc sources.cs.bell-labs.com
$ mount -t 9p -o unix,trans=unix,uname=djc $(namespace)/sources.cs.bell-labs.com /n/sources
Instead of using v9fs, which is a 9p implementation in the Linux kernel, you can also use 9pfuse, which can run on any operating system supporting FUSE.
To obtain more details about the options supported by v9fs, you can read the documentation.
@0intro (hello and thank you); What started all this was using acme at its full potential and I was told I had to mount an instance of plan9 file system on my own machione (like the plan9 server and its mount point both on my local machine). I wanted shell inside acme. well here is an explanation is called for (at least for myself): (I would create another issue for it though) thanks
hello; I am running archlinux with budgie (a gnome 3 fork) desktop. I installed plan9ports from official packages for archlinux (https://www.archlinux.org/packages/community/x86_64/plan9port/). then I was told to have full acces to what plan9 would opffer I have to mount plan9 filesystem. down below I pasted what I tried and could found here and there all from 11 years a go or less. could any one help?
uname -a Linux roscp 4.11.9-1-rt7-archlinux #1 SMP PREEMPT RT Tue Jul 11 23:23:30 UTC 2017 x86_64 GNU/Linux