From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: from tb-ob0.topicbox.com (tb-ob0.topicbox.com [64.147.108.117]) by inbox.vuxu.org (Postfix) with ESMTP id 126DA24C68 for ; Fri, 21 Jun 2024 10:06:43 +0200 (CEST) Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob0.topicbox.com (Postfix) with ESMTP id AC95B34F7F for ; Fri, 21 Jun 2024 04:06:42 -0400 (EDT) (envelope-from bounce.mM705e8cdb9619bf69a4d6cf0a.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id A547D158FBB9; Fri, 21 Jun 2024 04:06:42 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=from:to :subject:message-id:references:in-reply-to:date:mime-version :content-type:content-transfer-encoding:list-help:list-id :list-post:list-subscribe:reply-to:list-unsubscribe; s=dkim-1; t=1718957202; x=1719043602; bh=M3V6purfR0Nm9jHdAN2v9Xhm6jlW/u/h wsjaDMn7Sa8=; b=TDLgRqSZjdk/5c7qgGFYwVWmn1xCCuuha98SdJEaKAQMiuSZ 5flF/rDDdWBGqHZArOvsSqfpnoqtWq0Z2iCCGRoG8SrjDY5SbideSc5M4JVlZ3Wy FuWfTXR5jPOoYtP0rT5MNi+9uk1KLKvflK9QuNeBQomq8LC5pbY92iCqFbU= From: wb.kloke@gmail.com To: 9fans <9fans@9fans.net> Subject: Re: [9fans] Plan 9 from User Space still mantained? Message-Id: <17189571940.d09ba981.49490@composer.9fans.topicbox.com> References: In-Reply-To: Date: Fri, 21 Jun 2024 04:06:34 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=17189571941.256afeF1a.49490 Content-Transfer-Encoding: 7bit Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 2dbe396a-2fa5-11ef-94fb-c256242d11b0 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UZDMzZTBlMGQ0MTRhOGJiNy1NNzA1ZThjZGI5NjE5YmY2OWE0ZDZj?= =?UTF-8?B?ZjBhPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M705e8cdb9619bf69a4d6cf0a:1:KSKyEigr5YFkvl_tDub3gUVUazNIEiF1c7XjWYZ9n_4 --17189571941.256afeF1a.49490 Date: Fri, 21 Jun 2024 04:06:34 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable *** 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 =3D 0; int logging =3D 0; ! int msize =3D 8192+24; u32int xafid =3D NOFID; int attached; int versioned; --- 86,92 ---- Queue *inq; int verbose =3D 0; int logging =3D 0; ! int msize =3D 8192; u32int xafid =3D 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 =3D a; /* Should one or both of flags and mode be = octal? */ ! fmtprint(fmt, "Open nodeid %#llux flags %#u= x", ! hdr->nodeid, tx->flags); ! // fmtprint(fmt, "Open nodeid %#llux flags %#u= x mode %#ux", ! // hdr->nodeid, tx->flags, tx->mode); break; } case FUSE_READ: { --- 432,439 ---- case FUSE_OPEN: { struct fuse_open_in *tx =3D a; /* Should one or both of flags and mode be = octal? */ ! fmtprint(fmt, "Open nodeid %#llux flags %#u= x mode %#ux", ! hdr->nodeid, tx->flags, tx->mode); break; } case FUSE_READ: { *************** *** 493,502 **** } case FUSE_FLUSH: { struct fuse_flush_in *tx =3D a; ! fmtprint(fmt, "Flush nodeid %#llux fh %#llu= x", ! hdr->nodeid, tx->fh); ! // fmtprint(fmt, "Flush nodeid %#llux fh %#llu= x flags %#ux", ! // hdr->nodeid, tx->fh, tx->flush_flag= s); break; } case FUSE_INIT: { --- 491,498 ---- } case FUSE_FLUSH: { struct fuse_flush_in *tx =3D a; ! fmtprint(fmt, "Flush nodeid %#llux fh %#llu= x flags %#ux", ! hdr->nodeid, tx->fh, tx->flush_flag= s); break; } case FUSE_INIT: { *************** *** 507,516 **** } case FUSE_OPENDIR: { struct fuse_open_in *tx =3D 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 =3D 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 =3D 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, t= x+1); break; } } --- 533,540 ---- } case FUSE_CREATE: { struct fuse_open_in *tx =3D a; ! fmtprint(fmt, "Create nodeid %#llx flags %#= ux mode %#ux name %#q", ! hdr->nodeid, tx->flags, tx->mode, t= x+1); break; } } 2 patches for plan9port on FreeBSD. For the 2nd the correct fuse_kernel.h f= rom /usr/local/include must replace the plan9port version. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td33e0e0d414a8bb7-M705e8= cdb9619bf69a4d6cf0a Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --17189571941.256afeF1a.49490 Date: Fri, 21 Jun 2024 04:06:34 -0400 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
*** 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 =3D 0;
  int logging =3D 0;
! int msize =3D 8192+24;
  u32int xafid =3D NOFID;
  int attached;
  int versioned;
--- 86,92 ----
  Queue *inq;
  int verbose =3D 0;
  int logging =3D 0;
! int msize =3D 8192;
  u32int xafid =3D 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 =3D 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 =3D 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 =3D 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 =3D 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 =3D 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 =3D 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 =3D 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 =3D 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 t= he 2nd the correct fuse_kernel.h from /usr/local/include must replace the p= lan9port version.
= --17189571941.256afeF1a.49490--