[PATCH 2/2][MTD] Add support for > 2GiB MTD devices
Jörn Engel
joern at logfs.org
Wed Aug 27 10:34:16 EDT 2008
On Wed, 27 August 2008 10:01:32 +0100, David Woodhouse wrote:
>
> True, and we'll definitely need a new MEMERASE64 ioctl. But for the
> _informational_ parts, those can happily be done through sysfs.
They certainly can, but should they? There may be some reason to prefer
sysfs that should be self-evident - except that I'm a bit thick and seem
to need it spelled out. Or maybe I've just become disillusioned with
the practice of replacing crappy interfaces (ioctl here) with other
crappy interfaces (sysfs here) and having to support both for all
eternity. sysctl, ioctl, proc, sysfs, debugfs, netlink, ... -
individually they all suck in their own peculiar way. But together they
create a mess I no longer dare to name.
So what was the reason again why mtd needs two userspace interfaces
instead of just one?
Jörn
--
It does not require a majority to prevail, but rather an irate,
tireless minority keen to set brush fires in people's minds.
-- Samuel Adams
More information about the linux-mtd
mailing list