[illumos-Developer] Intercepting zfs calls

Aram Hăvărneanu aram.h at mgk.ro
Mon Nov 15 10:02:13 PST 2010


> Is there a way to intercept calls to zfs?

What does `intercepting' in this context mean? Do you want to observe
it or modify it's behavior? You can put a breakpoint in the mdb(1)
kernel debugger, and you can trace it with dtrace(1M) if you want to
observe or single-step through it.

> If not, is there a formal proposal
> process to extend zfs?

What are you trying to accomplish? Enhance ZFS? In what way? Just do
it and post a webrev of the changes :-). Modify ZFS behavior in a way
that's incompatible with illumos (maybe for inclusion in a 3rd party
product)? You can write a layered file system that sits on top of ZFS.
However, the file system interfaces are volatile and undocumented and
3rd party file systems will never be officially supported.

It is very unlikely that you need a file system or need to modify an
existing one for your project. Please tell us your higher level goals
so we will be able to help you with finding the right approach.

> Also, where is the ultimate repository for open-source zfs? There was some
> talk about zfs.org being such a resource. However, this site doesn't seem to
> be open for public yet.

Apart from the public source code in illumos I am not aware of any
other respurces.

-- 
Aram Hăvărneanu



More information about the Developer mailing list