[Ocfs2-devel] [RFC] The reflink(2) system call v2.

Jamie Lokier jamie at shareable.org
Tue May 12 13:36:09 PDT 2009


Joel Becker wrote:
> 	Someone else pointed out that a naive user might reflink a block
> device file and expect the device contents to be copied-on-write.
> Obviously wrong if you understand filesystems, but let's just prevent
> that misunderstanding.  S_ISREG() it is.

I think S_ISLNK() should be allowed too if the filesystem allows, as
it is harmless, behaves as expected, saves a little space, and copying
symlink attributes is meaningful too.

-- Jamie



More information about the Ocfs2-devel mailing list