*** 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