Re: VFS questions

Stig Venaas (
Sat, 3 May 1997 09:22:03 +0200 (MET DST)

> e.g. it may call the the generic permission code after dealing with
> some weird fs specific permissions checking. This would also make
> lofs much easier, as half the battle appears to be working out what to
> do if an inode doesn't have a particular function (one of return an
> error, or do some generic code usually).
> Mind you I don't really want to wish this job on anyone, it is tedious
> (and dangerous if you arn't a vfs expert).

The stackable layers I mentioned do this for you. It makes it very easy
to implement for instance nullfs. I've been looking at it for a while,
and yes, I think one should be a VFS expert to do this safely. Maybe
I'll risk trying one day though. It would be interesting to hear what
you guys think about stackable layers.