Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-dev@g.o
From: Greg KH <gregkh@g.o>
Subject: Re: Stability of /sys api
Date: Mon, 14 May 2012 18:17:02 -0700
On Mon, May 14, 2012 at 12:09:23PM -0400, Mike Frysinger wrote:
> On Monday 14 May 2012 03:53:53 Walter Dnes wrote:
> >   My question... is this API stable or deprecated?  I.e. can I count on
> > it being around for a while?  I figure this question is a developer type
> > question rather than ordinary user type.
> if userspace is relying on stuff in /sys, then it's part of the ABI

Yes, but note, you are looking at the wrong thing, what you are reading
isn't really what you think it means...

And to rely on sysfs, you have to be very careful, you can not rely on
position, or files, always being where you saw them yesterday as device
ids, topologies, and other stuff, change all the time.

greg k-h

Stability of /sys api
-- Walter Dnes
Re: Stability of /sys api
-- Mike Frysinger
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Stability of /sys api
Next by thread:
Re: Stability of /sys api
Previous by date:
Re: -Werror unwanted?
Next by date:
Re: Stability of /sys api

Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.