Skip site navigation (1)Skip section navigation (2)
Date:      28 Feb 1999 00:36:10 +0100
From:      Assar Westerlund <assar@sics.se>
To:        Steve McIntyre <smcintyr@allstor-sw.co.uk>
Cc:        freebsd-fs@FreeBSD.ORG
Subject:   Re: KLD filesystems in 3.0?
Message-ID:  <5lbtifh11x.fsf@mg.trafford.dementia.org>
In-Reply-To: Steve McIntyre's message of "Fri, 26 Feb 1999 16:58:08 %2B0000 (GMT)"
References:  <Pine.LNX.3.95.990226164739.122t-100000@virgo.software.plasmon>

next in thread | previous in thread | raw e-mail | index | archive | help
Steve McIntyre <smcintyr@allstor-sw.co.uk> writes:
> I'm having some problems trying to write a filesystem (pfs) as a KLD. I
> load the pfs module, and the startup code seems to work OK. I can mount
> the filesystem, and still all seems OK. But the first time I try to do any
> vnode ops in the FS all falls down - vn_stat tries to call pfsop_getattr
> and fails, apparently trying to call a function at 0x0b instead of the
> real address. My guess is that somehow the vnodeop entries are not being
> registered properly; I've had a look through some of the other filesystems
> and I can't see anything obvious that I'm missing.
> 
> Does anybody out there have any ideas for things to check?

Do you do an VNODEOP_SET on your `struct vnodeopv_desc'?

/assar


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-fs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5lbtifh11x.fsf>