Re: [ANNOUNCEMENT PATCH COW] proof of concept impementation of cowlinks
From: Pavel Machek
Date: Sat May 08 2004 - 17:17:20 EST
> That is probably unfixable now, but you can avoid making similar
> error. Provide is_cowlinked(fd1,fd2) syscall. Pity you will
> have to use different inode numbers for cowlinks (due to tar/cp),
> and this won't fly:
is_cowlinked does not fly, either. For n files, you have to do O(n^2)
calls to find those that are linked.
You want get_cowlinked_id which can return -1 "I do not know".
Horseback riding is like software...
...vgf orggre jura vgf serr.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/