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

From: Greg KH
Date: Thu Sep 27 2007 - 23:22:34 EST


On Thu, Sep 27, 2007 at 07:19:27PM -0400, Theodore Tso wrote:
> On Thu, Sep 27, 2007 at 02:34:45PM -0700, Greg KH wrote:
> > Ok, how then should I advertise this better? What can we do better to
> > help userspace programmers out in this regard?
>
> Would you accept a patch which causes the deprecated sysfs
> files/directories to disappear, even if CONFIG_SYS_DEPRECATED is
> defined, via a boot-time parameter?

As discussed in the kernel summit talk about this very topic, Kay is
working on a patch to do just that :)

> Many people and distros are
> likely to keep CONFIG_SYS_DEPRECATED defined just our of paranoia that
> things might break. Doing a quick google, I note that Fedora has been
> going back and forth of turning it off, watching things break, and
> then turning it back on. The latest time, the changelog said:
>
> * Fri Jan 26 23:00:00 2007 Bill Nottingham <notting{%}redhat{*}com>
>
> - turn on CONFIG_SYSFS_DEPRECATED so that things actually work. *sigh*
>
> (and I've checked, Fedora's CVS still has CONFIG_SYSFS_DEPRECATED
> defined; it's not just Debian at fault here.)

That's odd, SuSE and Gentoo have been working for quite some time just
fine with that option disabled :)

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/