aboutsummaryrefslogtreecommitdiff
path: root/_posts/2023-05-07-mount-plan9-over-network.md
blob: ad68e80402ec6b1b15fd11a43af30db20c657dc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
title: Mount Plan9 over network
permalink: /mount-plan9-over-network.html
date: 2023-05-07T12:00:00+02:00
layout: post
type: note
draft: false
tags: [plan9]
---

- First install libfuse with sudo apt install libfuse-dev.
- Then clone https://github.com/ftrvxmtrx/9pfs and compile it with make.
- Copy 9pfs to your path.

```sh
# On Plan9 side
ip/ipconfig # enables network
aux/listen1 -tv tcp!*!9999 /bin/exportfs -r tmp # export tmp folder

# On Linux side
9pfs 172.18.0.1 -p 9999 local_folder # mount
umount local_folder # unmount
```