wm: doc

Download patch

ref: 7671cc802aae34e6a9727cf1194063c466619fdd
parent: c355a03151251a054de85eeb5ec1aa0526d4514d
author: Aaron Lin <jrmu@inter9.org>
date: Wed Oct 16 16:48:10 EDT 2024

Add hubfs build instructions for 9front

--- /dev/null
+++ b/hubfs.ms
@@ -1,0 +1,27 @@
+These are the instructions for building hubfs from 9front's extra repo:
+
+Source originally from https://bitbucket.org/mycroftiv/hubfs
+
+; 9fs 9front
+; cp /n/extra/src/hubfs.tip.tgz $home/
+; cd $home/
+; tar xvzf hubfs.tip.tgz
+
+In order to build hubfs, make sure to comment out lines 810-811
+using this diff:
+
+--- hubfs.c
++++ hubfs.c.patch
+@@ -807,8 +807,10 @@
+ 
+ 	if(argc)
+ 		usage();
++/*
+ 	if(chatty9p)
+ 		fprint(2, "hubsrv.nopipe %d srvname %s mtpt %s\n", fs.nopipe, srvname, mtpt);
++*/
+ 	if(addr == nil && srvname == nil && mtpt == nil)
+ 		sysfatal("must specify -a, -s, or -m option");
+
+; mk all
+; mk install