Re: [ANNOUNCEMENT PATCH COW] proof of concept impementation of cowlinks

From: Jörn Engel
Date: Mon May 10 2004 - 10:59:39 EST

On Mon, 10 May 2004 17:51:27 +0200, Pavel Machek wrote:
> >
> > What about ino? I currently return 1, so diff remains fast without
> > any changes. If someone really needs the difference between inode 2
> > and 3, I would introduce a cstat() system call similar to lstat(),
> > which would return ino=2.
> I think you need to return 2, otherwise inode numbers change when
> cowling is broken.... and that would be bad.

Makes sense. Damn, now I gotta touch diff as well. :(

> Aha.. That is another neccessary property for get_cow_inode():
> cow_inode can change, any time, unlike normal inode.

Correct. Still, I prefer cstat(), even though almost all information
is identical to stat. But the device might change as well, one day.


With a PC, I always felt limited by the software available. On Unix,
I am limited only by my knowledge.
-- Peter J. Schoenster
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at