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

Jamie Lokier jamie at shareable.org
Tue May 12 13:29:19 PDT 2009


jim owens wrote:
> Using root's default attributes is almost never desired.
                                     ^^^^^^

Exactly.  When it is desired, it shouldn't be impossible :-)

Setting attributes to those of a new file outside the kernel requires
parsing /proc/mounts and knowing filesystem-type-specific things,
among other things.  Ugly stuff - should never be written.  Don't make
such ugly stuff be written (and fail when /proc isn't mounted).

There is also the principle of least surprise...  Shell scripts which
behave differently for root - that's asking for trouble.

-- Jamie



More information about the Ocfs2-devel mailing list