Re: [PATCH] fs: Correct SuS compliance for open of large file without options

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Greg KH <greg@...>
Cc: Andrew Morton <akpm@...>, Alan Cox <alan@...>, Jens Axboe <jens.axboe@...>, Arjan van de Ven <arjan@...>, <linux-kernel@...>, <linux-fsdevel@...>
Date: Thursday, September 27, 2007 - 2:37 pm

On Thu, Sep 27, 2007 at 10:59:17AM -0700, Greg KH wrote:

I've read it; the question is whether every single application
programmer or system shell script programmer who writes code my system
depends upon has read it this document buried in the kernel sources,
or whether things will break spectacularly --- one of those things
that leaves me in suspense each time I update the kernel.

I'm reminded of Rusty's 2003 OLS Keynote, where he points out that
what's important is not making an interface easy to use, but _hard_
_to_ _misuse_.  That fact that sysfs is all laid out in a directory,
but for which some directories/symlinks are OK to use, and some are
NOT OK to use --- is why I call the sysfs interface "an open pit".
Sure, if you have the map to the minefield, a minefield is perfectly
safe when you know what to avoid.  But is that the best way to
construct a path/interface for an application programmer to get from
point A to point B?  Maybe, maybe not.

					- Ted
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] fs: Correct SuS compliance for open of large fil..., Arjan van de Ven, (Thu Sep 27, 10:01 am)
Re: [PATCH] fs: Correct SuS compliance for open of large fil..., Theodore Tso, (Thu Sep 27, 2:37 pm)