9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Plan 9 from User Space still mantained?
@ 2024-06-20 12:51 Roderick
  2024-06-20 13:30 ` [9fans] " wb.kloke
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Roderick @ 2024-06-20 12:51 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Dear Sirs!

I hope, I can also ask here about Plan9 port ...

I just compiled master from on FreeBSD14.0:
https://9fans.github.io/plan9port/

Is this actual? I got some warnings, bellow the messages.

I have another question, and ask first to forgive me for it ...

You know, one trusts nvi and emacs because they are so old,
because there are so much people using it. I am sure one
can trust acme and sam on plan9. But what about sam on
FreeBSD from the port? Is it reliable or should I consider it
experimental? Could it spoil a big file?

Thanks
Rodrigo



---------

#uname -a
FreeBSD fbsd.local 14.0-RELEASE-p6 FreeBSD 14.0-RELEASE-p6 #0:
Tue Mar 26 20:26:20 UTC 2024
root@amd64-builder.daemonology.net:
/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

# ./INSTALL
+ Mailing list: https://groups.google.com/group/plan9port-dev
+ Issue tracker: https://github.com/9fans/plan9port/issues/
+ Submitting changes: https://github.com/9fans/plan9port/pulls

* Resetting /usr/opt/plan9/config
* Running on FreeBSD, adjusting linker flags
* Compiler version:
        FreeBSD clang version 16.0.6
(https://github.com/llvm/llvm-project.git
llvmorg-16.0.6-0-g7cbf1a259152)
* Building mk...
>>> pwd
>>> pwd
>>> pwd
>>> pwd
* Building everything (be patient)...
>>> cd /usr/opt/plan9/src/lib9p; mk all
9c -pthread req.c
req.c:63:2: warning: misleading indentation; statement is not part of
the previous 'if' [-Wmisleading-indentation]
req.c:61:1: note: previous statement is here
req.c:75:2: warning: misleading indentation; statement is not part of
the previous 'if' [-Wmisleading-indentation]
req.c:72:1: note: previous statement is here
req.c:109:2: warning: misleading indentation; statement is not part of
the previous 'if' [-Wmisleading-indentation]
req.c:107:1: note: previous statement is here
>>> cd /usr/opt/plan9/src/lib9p; mk all
9c -pthread srv.c
srv.c:104:2: warning: misleading indentation; statement is not part of
the previous 'if' [-Wmisleading-indentation]
srv.c:98:1: note: previous statement is here
srv.c:804:2: warning: misleading indentation; statement is not part of
the previous 'if' [-Wmisleading-indentation]
srv.c:801:1: note: previous statement is here
>>> cd /usr/opt/plan9/src/libmemlayer; mk all
9c -pthread draw.c
draw.c:68:3: warning: misleading indentation; statement is not part of
the previous 'if' [-Wmisleading-indentation]
draw.c:67:1: note: previous statement is here
draw.c:79:3: warning: misleading indentation; statement is not part of
the previous 'if' [-Wmisleading-indentation]
draw.c:78:1: note: previous statement is here
>>> cd /usr/opt/plan9/src/libsunrpc; mk all
9c -pthread server.c
server.c:95:3: warning: misleading indentation; statement is not part
of the previous 'if' [-Wmisleading-indentation]
server.c:94:1: note: previous statement is here
>>> cd /usr/opt/plan9/src/cmd/fossil; mk all
9c -pthread check.c
check.c:298:4: warning: misleading indentation; statement is not part
of the previous 'if' [-Wmisleading-indentation]
check.c:296:1: note: previous statement is here
check.c:604:3: warning: misleading indentation; statement is not part
of the previous 'if' [-Wmisleading-indentation]
check.c:602:1: note: previous statement is here
>>> cd /usr/opt/plan9/src/cmd/rio; mk all
9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG client.c
client.c:16:1: note: conflicting prototype is here
client.c:39:1: note: conflicting prototype is here
client.c:61:1: note: conflicting prototype is here
client.c:121:1: note: conflicting prototype is here
client.c:139:1: note: conflicting prototype is here
client.c:181:1: note: conflicting prototype is here
>>> cd /usr/opt/plan9/src/cmd/rio; mk all
9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG error.c
error.c:14:1: note: conflicting prototype is here
error.c:23:1: note: conflicting prototype is here
error.c:51:1: note: conflicting prototype is here
error.c:86:1: note: conflicting prototype is here
>>> cd /usr/opt/plan9/src/cmd/rio; mk all
9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG event.c
event.c:15:1: note: conflicting prototype is here
event.c:115:1: note: conflicting prototype is here
event.c:186:1: note: conflicting prototype is here
event.c:233:1: note: conflicting prototype is here
event.c:259:1: note: conflicting prototype is here
event.c:265:1: note: conflicting prototype is here
event.c:287:1: note: conflicting prototype is here
event.c:311:1: note: conflicting prototype is here
event.c:354:1: note: conflicting prototype is here
event.c:381:1: note: conflicting prototype is here
event.c:436:1: note: conflicting prototype is here
event.c:473:1: note: conflicting prototype is here
event.c:487:1: note: conflicting prototype is here
event.c:506:1: note: conflicting prototype is here
event.c:517:1: note: conflicting prototype is here
event.c:534:1: note: conflicting prototype is here
event.c:597:1: note: conflicting prototype is here
>>> cd /usr/opt/plan9/src/cmd/rio; mk all
9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG grab.c
grab.c:61:1: note: conflicting prototype is here
grab.c:181:1: note: conflicting prototype is here
grab.c:599:1: note: conflicting prototype is here
grab.c:626:1: note: conflicting prototype is here
grab.c:646:1: note: conflicting prototype is here
grab.c:661:1: note: conflicting prototype is here
grab.c:672:1: note: conflicting prototype is here
>>> cd /usr/opt/plan9/src/cmd/rio; mk all
9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG key.c
key.c:44:1: note: conflicting prototype is here
key.c:56:1: note: conflicting prototype is here
>>> cd /usr/opt/plan9/src/cmd/rio; mk all
9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG main.c
main.c:244:1: note: conflicting prototype is here
main.c:403:1: note: conflicting prototype is here
main.c:429:1: note: conflicting prototype is here
main.c:456:1: note: conflicting prototype is here
main.c:480:1: note: conflicting prototype is here
>>> cd /usr/opt/plan9/src/cmd/rio; mk all
9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG manage.c
manage.c:21:1: note: conflicting prototype is here
manage.c:201:1: note: conflicting prototype is here
manage.c:230:1: note: conflicting prototype is here
manage.c:242:1: note: conflicting prototype is here
manage.c:265:1: note: conflicting prototype is here
manage.c:289:1: note: conflicting prototype is here
manage.c:295:1: note: conflicting prototype is here
manage.c:344:1: note: conflicting prototype is here
manage.c:365:1: note: conflicting prototype is here
manage.c:380:1: note: conflicting prototype is here
manage.c:397:1: note: conflicting prototype is here
manage.c:419:1: note: conflicting prototype is here
manage.c:425:1: note: conflicting prototype is here
manage.c:431:1: note: conflicting prototype is here
manage.c:444:1: note: conflicting prototype is here
manage.c:457:1: note: conflicting prototype is here
>>> cd /usr/opt/plan9/src/cmd/rio; mk all
9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG menu.c
menu.c:84:1: note: conflicting prototype is here
menu.c:187:1: note: conflicting prototype is here
menu.c:224:1: note: conflicting prototype is here
menu.c:246:1: note: conflicting prototype is here
menu.c:260:1: note: conflicting prototype is here
menu.c:271:1: note: conflicting prototype is here
menu.c:298:1: note: conflicting prototype is here
menu.c:332:1: note: conflicting prototype is here
menu.c:346:1: note: conflicting prototype is here
menu.c:363:1: note: conflicting prototype is here
menu.c:371:1: note: conflicting prototype is here
menu.c:406:1: note: conflicting prototype is here
menu.c:423:1: note: conflicting prototype is here
* Installing everything in /usr/opt/plan9/bin...
* Cleaning up...
* Renaming hard-coded /usr/local/plan9 paths...
* Building web manual...
* Done.

* Add these to your profile environment.
        PLAN9=/usr/opt/plan9 export PLAN9
        PATH=$PATH:$PLAN9/bin export PATH

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td33e0e0d414a8bb7-M42cdd7ec4a2380a5534136d6
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [9fans] Re: Plan 9 from User Space still mantained?
  2024-06-20 12:51 [9fans] Plan 9 from User Space still mantained? Roderick
@ 2024-06-20 13:30 ` wb.kloke
  2024-06-20 14:59 ` [9fans] " dexen deVries
  2024-06-21  9:39 ` David Arnold
  2 siblings, 0 replies; 8+ messages in thread
From: wb.kloke @ 2024-06-20 13:30 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 705 bytes --]

I am actively using planport on FreeBSD14. So far, I found  some programs which do not work: These are some servers, where threadmaybackground() should be included, vacfs vnfs (as I reported under issues on plan9port github).

9pfuse also is not expected to be usable, as the fusekernel and the supplied fuse.h don't match.
If you need it,  give me a note to get the patch.
9pfs is a better alternative in most cases.

Overall, what works at all, mostly works reliably.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td33e0e0d414a8bb7-M17d10199b6b2d5053b957b04
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1670 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] Plan 9 from User Space still mantained?
  2024-06-20 12:51 [9fans] Plan 9 from User Space still mantained? Roderick
  2024-06-20 13:30 ` [9fans] " wb.kloke
@ 2024-06-20 14:59 ` dexen deVries
  2024-06-21  8:06   ` wb.kloke
  2024-06-21  9:39 ` David Arnold
  2 siblings, 1 reply; 8+ messages in thread
From: dexen deVries @ 2024-06-20 14:59 UTC (permalink / raw)
  To: 9fans

>warnings
the compiler wrapper provided silences quite a lot of warnings
(https://github.com/9fans/plan9port/blob/master/bin/9c#L42 to #L84)
and the list grows over time.

>acme
has been rock solid for me. last hiccups were several years ago,
related to some X wonkyness.

>reliability
a couple gotchas carried over from plan9. 9 sed quietly truncates
lines to 8193 characters.

the p9p is mature-ish, thus changes are slow. there's a couple forks
floating around with customisations, like
https://github.com/9fans/plan9port/compare/master...dexen:plan9port:dexen

On Thu, 20 Jun 2024 at 14:52, Roderick <hruodr@gmail.com> wrote:
>
> Dear Sirs!
>
> I hope, I can also ask here about Plan9 port ...
>
> I just compiled master from on FreeBSD14.0:
> https://9fans.github.io/plan9port/
>
> Is this actual? I got some warnings, bellow the messages.
>
> I have another question, and ask first to forgive me for it ...
>
> You know, one trusts nvi and emacs because they are so old,
> because there are so much people using it. I am sure one
> can trust acme and sam on plan9. But what about sam on
> FreeBSD from the port? Is it reliable or should I consider it
> experimental? Could it spoil a big file?
>
> Thanks
> Rodrigo
>
>
>
> ---------
>
> #uname -a
> FreeBSD fbsd.local 14.0-RELEASE-p6 FreeBSD 14.0-RELEASE-p6 #0:
> Tue Mar 26 20:26:20 UTC 2024
> root@amd64-builder.daemonology.net:
> /usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
>
> # ./INSTALL
> + Mailing list: https://groups.google.com/group/plan9port-dev
> + Issue tracker: https://github.com/9fans/plan9port/issues/
> + Submitting changes: https://github.com/9fans/plan9port/pulls
>
> * Resetting /usr/opt/plan9/config
> * Running on FreeBSD, adjusting linker flags
> * Compiler version:
>         FreeBSD clang version 16.0.6
> (https://github.com/llvm/llvm-project.git
> llvmorg-16.0.6-0-g7cbf1a259152)
> * Building mk...
> >>> pwd
> >>> pwd
> >>> pwd
> >>> pwd
> * Building everything (be patient)...
> >>> cd /usr/opt/plan9/src/lib9p; mk all
> 9c -pthread req.c
> req.c:63:2: warning: misleading indentation; statement is not part of
> the previous 'if' [-Wmisleading-indentation]
> req.c:61:1: note: previous statement is here
> req.c:75:2: warning: misleading indentation; statement is not part of
> the previous 'if' [-Wmisleading-indentation]
> req.c:72:1: note: previous statement is here
> req.c:109:2: warning: misleading indentation; statement is not part of
> the previous 'if' [-Wmisleading-indentation]
> req.c:107:1: note: previous statement is here
> >>> cd /usr/opt/plan9/src/lib9p; mk all
> 9c -pthread srv.c
> srv.c:104:2: warning: misleading indentation; statement is not part of
> the previous 'if' [-Wmisleading-indentation]
> srv.c:98:1: note: previous statement is here
> srv.c:804:2: warning: misleading indentation; statement is not part of
> the previous 'if' [-Wmisleading-indentation]
> srv.c:801:1: note: previous statement is here
> >>> cd /usr/opt/plan9/src/libmemlayer; mk all
> 9c -pthread draw.c
> draw.c:68:3: warning: misleading indentation; statement is not part of
> the previous 'if' [-Wmisleading-indentation]
> draw.c:67:1: note: previous statement is here
> draw.c:79:3: warning: misleading indentation; statement is not part of
> the previous 'if' [-Wmisleading-indentation]
> draw.c:78:1: note: previous statement is here
> >>> cd /usr/opt/plan9/src/libsunrpc; mk all
> 9c -pthread server.c
> server.c:95:3: warning: misleading indentation; statement is not part
> of the previous 'if' [-Wmisleading-indentation]
> server.c:94:1: note: previous statement is here
> >>> cd /usr/opt/plan9/src/cmd/fossil; mk all
> 9c -pthread check.c
> check.c:298:4: warning: misleading indentation; statement is not part
> of the previous 'if' [-Wmisleading-indentation]
> check.c:296:1: note: previous statement is here
> check.c:604:3: warning: misleading indentation; statement is not part
> of the previous 'if' [-Wmisleading-indentation]
> check.c:602:1: note: previous statement is here
> >>> cd /usr/opt/plan9/src/cmd/rio; mk all
> 9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG client.c
> client.c:16:1: note: conflicting prototype is here
> client.c:39:1: note: conflicting prototype is here
> client.c:61:1: note: conflicting prototype is here
> client.c:121:1: note: conflicting prototype is here
> client.c:139:1: note: conflicting prototype is here
> client.c:181:1: note: conflicting prototype is here
> >>> cd /usr/opt/plan9/src/cmd/rio; mk all
> 9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG error.c
> error.c:14:1: note: conflicting prototype is here
> error.c:23:1: note: conflicting prototype is here
> error.c:51:1: note: conflicting prototype is here
> error.c:86:1: note: conflicting prototype is here
> >>> cd /usr/opt/plan9/src/cmd/rio; mk all
> 9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG event.c
> event.c:15:1: note: conflicting prototype is here
> event.c:115:1: note: conflicting prototype is here
> event.c:186:1: note: conflicting prototype is here
> event.c:233:1: note: conflicting prototype is here
> event.c:259:1: note: conflicting prototype is here
> event.c:265:1: note: conflicting prototype is here
> event.c:287:1: note: conflicting prototype is here
> event.c:311:1: note: conflicting prototype is here
> event.c:354:1: note: conflicting prototype is here
> event.c:381:1: note: conflicting prototype is here
> event.c:436:1: note: conflicting prototype is here
> event.c:473:1: note: conflicting prototype is here
> event.c:487:1: note: conflicting prototype is here
> event.c:506:1: note: conflicting prototype is here
> event.c:517:1: note: conflicting prototype is here
> event.c:534:1: note: conflicting prototype is here
> event.c:597:1: note: conflicting prototype is here
> >>> cd /usr/opt/plan9/src/cmd/rio; mk all
> 9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG grab.c
> grab.c:61:1: note: conflicting prototype is here
> grab.c:181:1: note: conflicting prototype is here
> grab.c:599:1: note: conflicting prototype is here
> grab.c:626:1: note: conflicting prototype is here
> grab.c:646:1: note: conflicting prototype is here
> grab.c:661:1: note: conflicting prototype is here
> grab.c:672:1: note: conflicting prototype is here
> >>> cd /usr/opt/plan9/src/cmd/rio; mk all
> 9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG key.c
> key.c:44:1: note: conflicting prototype is here
> key.c:56:1: note: conflicting prototype is here
> >>> cd /usr/opt/plan9/src/cmd/rio; mk all
> 9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG main.c
> main.c:244:1: note: conflicting prototype is here
> main.c:403:1: note: conflicting prototype is here
> main.c:429:1: note: conflicting prototype is here
> main.c:456:1: note: conflicting prototype is here
> main.c:480:1: note: conflicting prototype is here
> >>> cd /usr/opt/plan9/src/cmd/rio; mk all
> 9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG manage.c
> manage.c:21:1: note: conflicting prototype is here
> manage.c:201:1: note: conflicting prototype is here
> manage.c:230:1: note: conflicting prototype is here
> manage.c:242:1: note: conflicting prototype is here
> manage.c:265:1: note: conflicting prototype is here
> manage.c:289:1: note: conflicting prototype is here
> manage.c:295:1: note: conflicting prototype is here
> manage.c:344:1: note: conflicting prototype is here
> manage.c:365:1: note: conflicting prototype is here
> manage.c:380:1: note: conflicting prototype is here
> manage.c:397:1: note: conflicting prototype is here
> manage.c:419:1: note: conflicting prototype is here
> manage.c:425:1: note: conflicting prototype is here
> manage.c:431:1: note: conflicting prototype is here
> manage.c:444:1: note: conflicting prototype is here
> manage.c:457:1: note: conflicting prototype is here
> >>> cd /usr/opt/plan9/src/cmd/rio; mk all
> 9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG menu.c
> menu.c:84:1: note: conflicting prototype is here
> menu.c:187:1: note: conflicting prototype is here
> menu.c:224:1: note: conflicting prototype is here
> menu.c:246:1: note: conflicting prototype is here
> menu.c:260:1: note: conflicting prototype is here
> menu.c:271:1: note: conflicting prototype is here
> menu.c:298:1: note: conflicting prototype is here
> menu.c:332:1: note: conflicting prototype is here
> menu.c:346:1: note: conflicting prototype is here
> menu.c:363:1: note: conflicting prototype is here
> menu.c:371:1: note: conflicting prototype is here
> menu.c:406:1: note: conflicting prototype is here
> menu.c:423:1: note: conflicting prototype is here
> * Installing everything in /usr/opt/plan9/bin...
> * Cleaning up...
> * Renaming hard-coded /usr/local/plan9 paths...
> * Building web manual...
> * Done.
> 
> * Add these to your profile environment.
>         PLAN9=/usr/opt/plan9 export PLAN9
>         PATH=$PATH:$PLAN9/bin export PATH

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td33e0e0d414a8bb7-M04d5345be710ba89321cfa62
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] Plan 9 from User Space still mantained?
  2024-06-20 14:59 ` [9fans] " dexen deVries
@ 2024-06-21  8:06   ` wb.kloke
  2024-06-21  9:47     ` hruodr
  0 siblings, 1 reply; 8+ messages in thread
From: wb.kloke @ 2024-06-21  8:06 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 5137 bytes --]

*** 9pserve.c   Fri Mar  1 15:46:35 2024
--- /home/wb/plan9port/src/cmd/9pserve.c        Fri Jun 21 09:43:38 2024
***************
*** 86,92 ****
  Queue *inq;
  int verbose = 0;
  int logging = 0;
! int msize = 8192+24;
  u32int xafid = NOFID;
  int attached;
  int versioned;
--- 86,92 ----
  Queue *inq;
  int verbose = 0;
  int logging = 0;
! int msize = 8192;
  u32int xafid = NOFID;
  int attached;
  int versioned;

*** fuse.c      Wed Nov 29 22:09:33 2023
--- /home/wb/plan9port/src/cmd/9pfuse/fuse.c    Fri Jun 21 09:43:38 2024
***************
*** 432,441 ****
                        case FUSE_OPEN: {
                                struct fuse_open_in *tx = a;
                                /* Should one or both of flags and mode be octal? */
!                               fmtprint(fmt, "Open nodeid %#llux flags %#ux",
!                                       hdr->nodeid, tx->flags);
! //                            fmtprint(fmt, "Open nodeid %#llux flags %#ux mode %#ux",
! //                                    hdr->nodeid, tx->flags, tx->mode);
                                break;
                        }
                        case FUSE_READ: {
--- 432,439 ----
                        case FUSE_OPEN: {
                                struct fuse_open_in *tx = a;
                                /* Should one or both of flags and mode be octal? */
!                               fmtprint(fmt, "Open nodeid %#llux flags %#ux mode %#ux",
!                                       hdr->nodeid, tx->flags, tx->mode);
                                break;
                        }
                        case FUSE_READ: {
***************
*** 493,502 ****
                        }
                        case FUSE_FLUSH: {
                                struct fuse_flush_in *tx = a;
!                               fmtprint(fmt, "Flush nodeid %#llux fh %#llux",
!                                       hdr->nodeid, tx->fh);
! //                            fmtprint(fmt, "Flush nodeid %#llux fh %#llux flags %#ux",
! //                                    hdr->nodeid, tx->fh, tx->flush_flags);
                                break;
                        }
                        case FUSE_INIT: {
--- 491,498 ----
                        }
                        case FUSE_FLUSH: {
                                struct fuse_flush_in *tx = a;
!                               fmtprint(fmt, "Flush nodeid %#llux fh %#llux flags %#ux",
!                                       hdr->nodeid, tx->fh, tx->flush_flags);
                                break;
                        }
                        case FUSE_INIT: {
***************
*** 507,516 ****
                        }
                        case FUSE_OPENDIR: {
                                struct fuse_open_in *tx = a;
!                               fmtprint(fmt, "Opendir nodeid %#llux flags %#ux",
!                                       hdr->nodeid, tx->flags);
! //                            fmtprint(fmt, "Opendir nodeid %#llux flags %#ux mode %#ux",
! //                                    hdr->nodeid, tx->flags, tx->mode);
                                break;
                        }
                        case FUSE_READDIR: {
--- 503,510 ----
                        }
                        case FUSE_OPENDIR: {
                                struct fuse_open_in *tx = a;
!                               fmtprint(fmt, "Opendir nodeid %#llux flags %#ux mode %#ux",
!                                       hdr->nodeid, tx->flags, tx->mode);
                                break;
                        }
                        case FUSE_READDIR: {
***************
*** 539,548 ****
                        }
                        case FUSE_CREATE: {
                                struct fuse_open_in *tx = a;
!                               fmtprint(fmt, "Create nodeid %#llx flags %#ux name %#q",
!                                       hdr->nodeid, tx->flags, tx+1);
! //                            fmtprint(fmt, "Create nodeid %#llx flags %#ux mode %#ux name %#q",
! //                                    hdr->nodeid, tx->flags, tx->mode, tx+1);
                                break;
                        }
                }
--- 533,540 ----
                        }
                        case FUSE_CREATE: {
                                struct fuse_open_in *tx = a;
!                               fmtprint(fmt, "Create nodeid %#llx flags %#ux mode %#ux name %#q",
!                                       hdr->nodeid, tx->flags, tx->mode, tx+1);
                                break;
                        }
                }


2 patches for plan9port on FreeBSD. For the 2nd the correct fuse_kernel.h from /usr/local/include must replace the plan9port version.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td33e0e0d414a8bb7-M705e8cdb9619bf69a4d6cf0a
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 4585 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] Plan 9 from User Space still mantained?
  2024-06-20 12:51 [9fans] Plan 9 from User Space still mantained? Roderick
  2024-06-20 13:30 ` [9fans] " wb.kloke
  2024-06-20 14:59 ` [9fans] " dexen deVries
@ 2024-06-21  9:39 ` David Arnold
  2 siblings, 0 replies; 8+ messages in thread
From: David Arnold @ 2024-06-21  9:39 UTC (permalink / raw)
  To: 9fans

You might try the developers mailing list plan9port-dev@googlegroups.com as well



d

> On 20 Jun 2024, at 22:53, Roderick <hruodr@gmail.com> wrote:
> 
> Dear Sirs!
> 
> I hope, I can also ask here about Plan9 port ...
> 
> I just compiled master from on FreeBSD14.0:
> https://9fans.github.io/plan9port/
> 
> Is this actual? I got some warnings, bellow the messages.
> 
> I have another question, and ask first to forgive me for it ...
> 
> You know, one trusts nvi and emacs because they are so old,
> because there are so much people using it. I am sure one
> can trust acme and sam on plan9. But what about sam on
> FreeBSD from the port? Is it reliable or should I consider it
> experimental? Could it spoil a big file?
> 
> Thanks
> Rodrigo
> 
> 
> 
> ---------
> 
> #uname -a
> FreeBSD fbsd.local 14.0-RELEASE-p6 FreeBSD 14.0-RELEASE-p6 #0:
> Tue Mar 26 20:26:20 UTC 2024
> root@amd64-builder.daemonology.net:
> /usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
> 
> # ./INSTALL
> + Mailing list: https://groups.google.com/group/plan9port-dev
> + Issue tracker: https://github.com/9fans/plan9port/issues/
> + Submitting changes: https://github.com/9fans/plan9port/pulls
> 
> * Resetting /usr/opt/plan9/config
> * Running on FreeBSD, adjusting linker flags
> * Compiler version:
>        FreeBSD clang version 16.0.6
> (https://github.com/llvm/llvm-project.git
> llvmorg-16.0.6-0-g7cbf1a259152)
> * Building mk...
>>>> pwd
>>>> pwd
>>>> pwd
>>>> pwd
> * Building everything (be patient)...
>>>> cd /usr/opt/plan9/src/lib9p; mk all
> 9c -pthread req.c
> req.c:63:2: warning: misleading indentation; statement is not part of
> the previous 'if' [-Wmisleading-indentation]
> req.c:61:1: note: previous statement is here
> req.c:75:2: warning: misleading indentation; statement is not part of
> the previous 'if' [-Wmisleading-indentation]
> req.c:72:1: note: previous statement is here
> req.c:109:2: warning: misleading indentation; statement is not part of
> the previous 'if' [-Wmisleading-indentation]
> req.c:107:1: note: previous statement is here
>>>> cd /usr/opt/plan9/src/lib9p; mk all
> 9c -pthread srv.c
> srv.c:104:2: warning: misleading indentation; statement is not part of
> the previous 'if' [-Wmisleading-indentation]
> srv.c:98:1: note: previous statement is here
> srv.c:804:2: warning: misleading indentation; statement is not part of
> the previous 'if' [-Wmisleading-indentation]
> srv.c:801:1: note: previous statement is here
>>>> cd /usr/opt/plan9/src/libmemlayer; mk all
> 9c -pthread draw.c
> draw.c:68:3: warning: misleading indentation; statement is not part of
> the previous 'if' [-Wmisleading-indentation]
> draw.c:67:1: note: previous statement is here
> draw.c:79:3: warning: misleading indentation; statement is not part of
> the previous 'if' [-Wmisleading-indentation]
> draw.c:78:1: note: previous statement is here
>>>> cd /usr/opt/plan9/src/libsunrpc; mk all
> 9c -pthread server.c
> server.c:95:3: warning: misleading indentation; statement is not part
> of the previous 'if' [-Wmisleading-indentation]
> server.c:94:1: note: previous statement is here
>>>> cd /usr/opt/plan9/src/cmd/fossil; mk all
> 9c -pthread check.c
> check.c:298:4: warning: misleading indentation; statement is not part
> of the previous 'if' [-Wmisleading-indentation]
> check.c:296:1: note: previous statement is here
> check.c:604:3: warning: misleading indentation; statement is not part
> of the previous 'if' [-Wmisleading-indentation]
> check.c:602:1: note: previous statement is here
>>>> cd /usr/opt/plan9/src/cmd/rio; mk all
> 9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG client.c
> client.c:16:1: note: conflicting prototype is here
> client.c:39:1: note: conflicting prototype is here
> client.c:61:1: note: conflicting prototype is here
> client.c:121:1: note: conflicting prototype is here
> client.c:139:1: note: conflicting prototype is here
> client.c:181:1: note: conflicting prototype is here
>>>> cd /usr/opt/plan9/src/cmd/rio; mk all
> 9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG error.c
> error.c:14:1: note: conflicting prototype is here
> error.c:23:1: note: conflicting prototype is here
> error.c:51:1: note: conflicting prototype is here
> error.c:86:1: note: conflicting prototype is here
>>>> cd /usr/opt/plan9/src/cmd/rio; mk all
> 9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG event.c
> event.c:15:1: note: conflicting prototype is here
> event.c:115:1: note: conflicting prototype is here
> event.c:186:1: note: conflicting prototype is here
> event.c:233:1: note: conflicting prototype is here
> event.c:259:1: note: conflicting prototype is here
> event.c:265:1: note: conflicting prototype is here
> event.c:287:1: note: conflicting prototype is here
> event.c:311:1: note: conflicting prototype is here
> event.c:354:1: note: conflicting prototype is here
> event.c:381:1: note: conflicting prototype is here
> event.c:436:1: note: conflicting prototype is here
> event.c:473:1: note: conflicting prototype is here
> event.c:487:1: note: conflicting prototype is here
> event.c:506:1: note: conflicting prototype is here
> event.c:517:1: note: conflicting prototype is here
> event.c:534:1: note: conflicting prototype is here
> event.c:597:1: note: conflicting prototype is here
>>>> cd /usr/opt/plan9/src/cmd/rio; mk all
> 9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG grab.c
> grab.c:61:1: note: conflicting prototype is here
> grab.c:181:1: note: conflicting prototype is here
> grab.c:599:1: note: conflicting prototype is here
> grab.c:626:1: note: conflicting prototype is here
> grab.c:646:1: note: conflicting prototype is here
> grab.c:661:1: note: conflicting prototype is here
> grab.c:672:1: note: conflicting prototype is here
>>>> cd /usr/opt/plan9/src/cmd/rio; mk all
> 9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG key.c
> key.c:44:1: note: conflicting prototype is here
> key.c:56:1: note: conflicting prototype is here
>>>> cd /usr/opt/plan9/src/cmd/rio; mk all
> 9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG main.c
> main.c:244:1: note: conflicting prototype is here
> main.c:403:1: note: conflicting prototype is here
> main.c:429:1: note: conflicting prototype is here
> main.c:456:1: note: conflicting prototype is here
> main.c:480:1: note: conflicting prototype is here
>>>> cd /usr/opt/plan9/src/cmd/rio; mk all
> 9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG manage.c
> manage.c:21:1: note: conflicting prototype is here
> manage.c:201:1: note: conflicting prototype is here
> manage.c:230:1: note: conflicting prototype is here
> manage.c:242:1: note: conflicting prototype is here
> manage.c:265:1: note: conflicting prototype is here
> manage.c:289:1: note: conflicting prototype is here
> manage.c:295:1: note: conflicting prototype is here
> manage.c:344:1: note: conflicting prototype is here
> manage.c:365:1: note: conflicting prototype is here
> manage.c:380:1: note: conflicting prototype is here
> manage.c:397:1: note: conflicting prototype is here
> manage.c:419:1: note: conflicting prototype is here
> manage.c:425:1: note: conflicting prototype is here
> manage.c:431:1: note: conflicting prototype is here
> manage.c:444:1: note: conflicting prototype is here
> manage.c:457:1: note: conflicting prototype is here
>>>> cd /usr/opt/plan9/src/cmd/rio; mk all
> 9c -pthread -I/usr/local/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG menu.c
> menu.c:84:1: note: conflicting prototype is here
> menu.c:187:1: note: conflicting prototype is here
> menu.c:224:1: note: conflicting prototype is here
> menu.c:246:1: note: conflicting prototype is here
> menu.c:260:1: note: conflicting prototype is here
> menu.c:271:1: note: conflicting prototype is here
> menu.c:298:1: note: conflicting prototype is here
> menu.c:332:1: note: conflicting prototype is here
> menu.c:346:1: note: conflicting prototype is here
> menu.c:363:1: note: conflicting prototype is here
> menu.c:371:1: note: conflicting prototype is here
> menu.c:406:1: note: conflicting prototype is here
> menu.c:423:1: note: conflicting prototype is here
> * Installing everything in /usr/opt/plan9/bin...
> * Cleaning up...
> * Renaming hard-coded /usr/local/plan9 paths...
> * Building web manual...
> * Done.
> 
> * Add these to your profile environment.
>        PLAN9=/usr/opt/plan9 export PLAN9
>        PATH=$PATH:$PLAN9/bin export PATH

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td33e0e0d414a8bb7-M9e762e001a8c64e1409b2996
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] Plan 9 from User Space still mantained?
  2024-06-21  8:06   ` wb.kloke
@ 2024-06-21  9:47     ` hruodr
  2024-06-21 11:36       ` wb.kloke
  0 siblings, 1 reply; 8+ messages in thread
From: hruodr @ 2024-06-21  9:47 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 578 bytes --]

On Friday, June 21, 2024, at 8:06 AM, wb.kloke wrote:
> 2 patches for plan9port on FreeBSD. For th

Thanks! There is in FreeBSD a plan9port port and package:

https://ports.freebsd.org/cgi/ports.cgi?query=plan9port&stype=all&sektion=all

That is the best place for patches, it would be good that the mantainer be aware of this ...

Rodrigo

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td33e0e0d414a8bb7-M200e2b3bca46013337e86d2d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1365 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] Plan 9 from User Space still mantained?
  2024-06-21  9:47     ` hruodr
@ 2024-06-21 11:36       ` wb.kloke
  2024-06-23 13:22         ` wb.kloke
  0 siblings, 1 reply; 8+ messages in thread
From: wb.kloke @ 2024-06-21 11:36 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 600 bytes --]

On Friday, 21 June 2024, at 11:47 AM, hruodr wrote:
> Thanks! There is in FreeBSD a plan9port port and package:
> 
The port may be ok, but the package is deficient. If you try to use the rc from the package you will find a very inconvenient place for rcmain compiled in. So, this rc is not usable as login shell.

I tried to inform the maintainer, but got no reply. 
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td33e0e0d414a8bb7-M689121c020cf796677db08b1
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1384 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] Plan 9 from User Space still mantained?
  2024-06-21 11:36       ` wb.kloke
@ 2024-06-23 13:22         ` wb.kloke
  0 siblings, 0 replies; 8+ messages in thread
From: wb.kloke @ 2024-06-23 13:22 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 449 bytes --]

For FreeBSD/plan9port users:

I cobbled a geom module to serve a ffs filesystem backup created by p9p vbackup as a readonly disk device on FreeBSD.

The source and a Read.me file are found in http://pkeus.de/~wb/vgate
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td33e0e0d414a8bb7-M3667b43625021973f5b18a02
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 997 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-06-23 13:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-20 12:51 [9fans] Plan 9 from User Space still mantained? Roderick
2024-06-20 13:30 ` [9fans] " wb.kloke
2024-06-20 14:59 ` [9fans] " dexen deVries
2024-06-21  8:06   ` wb.kloke
2024-06-21  9:47     ` hruodr
2024-06-21 11:36       ` wb.kloke
2024-06-23 13:22         ` wb.kloke
2024-06-21  9:39 ` David Arnold

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).