(Illustration by Gaich Muramatsu)
Greg, Thanks a lot! I'm forwarding this to Bob who will put it in both the stable and current FBSD releases. - Peter - Greg Troxel writes: > I patched cfs_vnodeops to avoid the panic, and now running Netscape 3 > on an html file in a coda filesystem produces the following message > and then succeeds > > Nov 23 15:27:00 ti5 /kernel: CFS: Vnode operation vop_select called, but not def > ined > > mknod also similarly fails harmlessly: > > ti5 root 1 /coda/project/coda #> mknod foo c 1 1 > mknod: foo: Operation not supported > > Nov 23 15:29:29 ti5 /kernel: CFS: Vnode operation vop_mknod called, but not defined > > > > > Index: cfs_vnodeops.c > =================================================================== > RCS file: /OBS-CVS/FreeBSD/src/sys/cfs/cfs_vnodeops.c,v > retrieving revision 1.1 > retrieving revision 1.2 > diff -u -r1.1 -r1.2 > --- cfs_vnodeops.c 1998/10/02 12:19:41 1.1 > +++ cfs_vnodeops.c 1998/11/23 18:16:54 1.2 > @@ -322,10 +331,10 @@ > nbsd_vop_error(void *anon) { > struct vnodeop_desc **desc = (struct vnodeop_desc **)anon; > > - myprintf(("Vnode operation %s called, but not defined\n", > + myprintf(("CFS: Vnode operation %s called, but not defined\n", > (*desc)->vdesc_name)); > - panic("nbsd_vop_error"); > - return 0; > + /*panic("nbsd_vop_error");*/ > + return EOPNOTSUPP; > } > > /* A generic do-nothing. For lease_check, advlock */ > > > > Greg Troxel <gdt_at_ir.bbn.com>Received on 1998-11-23 17:12:23