Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 1996 14:30:14 -0500 (EST)
From:      Son To <son@res50.resnet.upenn.edu>
To:        freebsd-fs@FreeBSD.org
Subject:   stackable fs
Message-ID:  <199611261930.OAA16552@res50.resnet.upenn.edu>

next in thread | raw e-mail | index | archive | help

Hello,

I am experimenting with stackable fs. I am having
difficulty understanding where data is passed down to the lower vnode.

What I want to do is build a layer that will add an 'a' (thus I call it
afs) in front of all data that pass through this layer. For example,
if afs is mounted on /mnt/afs, then whatever file I create in /mnt/afs
will begin with an 'a'. This fs is totally useless, but I'm doing to learn
how data is pass from one layer to another. 

Looking at the source union_fs source, I think I have to make an 
int afs_write(struct something *ap) function.  Where in the ap structure
is data contained?

Does anyoneu have pointers?

thanks,
Son




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