On Thu, Sep 27, 2007 at 10:59:17AM -0700, Greg KH wrote: > Come on now, I'm _very_ tired of this kind of discussion. Please go > read the documentation on how to _use_ sysfs from userspace in such a > way that you can properly access these data structures so that no > breakage occurs. 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] fs: Correct SuS compliance for open of large file without options
- From: Greg KH <greg@kroah.com>
- Re: [PATCH] fs: Correct SuS compliance for open of large file without options
- From: Matthew Wilcox <matthew@wil.cx>
- Re: [PATCH] fs: Correct SuS compliance for open of large file without options
- References:
- [PATCH] fs: Correct SuS compliance for open of large file without options
- From: Alan Cox <alan@lxorguk.ukuu.org.uk>
- Re: [PATCH] fs: Correct SuS compliance for open of large file without options
- From: Arjan van de Ven <arjan@infradead.org>
- Re: [PATCH] fs: Correct SuS compliance for open of large file without options
- From: Alan Cox <alan@lxorguk.ukuu.org.uk>
- Re: [PATCH] fs: Correct SuS compliance for open of large file without options
- From: Jens Axboe <jens.axboe@oracle.com>
- Re: [PATCH] fs: Correct SuS compliance for open of large file without options
- From: Alan Cox <alan@lxorguk.ukuu.org.uk>
- Re: [PATCH] fs: Correct SuS compliance for open of large file without options
- From: Jens Axboe <jens.axboe@oracle.com>
- Re: [PATCH] fs: Correct SuS compliance for open of large file without options
- From: Alan Cox <alan@lxorguk.ukuu.org.uk>
- Re: [PATCH] fs: Correct SuS compliance for open of large file without options
- From: Theodore Tso <tytso@mit.edu>
- Re: [PATCH] fs: Correct SuS compliance for open of large file without options
- From: Andrew Morton <akpm@linux-foundation.org>
- Re: [PATCH] fs: Correct SuS compliance for open of large file without options
- From: Greg KH <greg@kroah.com>
- [PATCH] fs: Correct SuS compliance for open of large file without options
- Prev by Date: Re: PCI: Fix boot-time hang on G31/G33 PC
- Next by Date: Re: [ofa-general] [PATCH v3] iw_cxgb3: Support "iwarp-only" interfaces to avoid 4-tuple conflicts.
- Previous by thread: Re: [PATCH] fs: Correct SuS compliance for open of large file without options
- Next by thread: Re: [PATCH] fs: Correct SuS compliance for open of large file without options
- Index(es):
![]() |