lithius said:Well, because I want to hide the underlying layer and I want to access to this layer only through the nullfs (or another) layer above.
I might misunderstood you here but it sounds exactly like what GEOM is doing now.lithius said:I am going to write fs layer which should provide functionality similar to Redirfs in Linux. Redirfs is linux kernel module which is intended to be used by so called filter. It provide interface to register some inode, dentry and file operations, which when are called are first redirected to the filter (encrypt data etc...) and then particular operation of underlying filesystem is called.