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 Developers <gentoo-dev@g.o>
From: "Walter Dnes" <waltdnes@...>
Subject: Stability of /sys api
Date: Mon, 14 May 2012 03:53:53 -0400
  After some Google-searching, I think I've figured out how to implement
automounting under mdev.  I'd like to put in as much sanity-checking
into the script as possible.  Right now I have 1 USB stick plugged in as
/dev/sdb.  Th hard drive is /dev/sda.  The "removable" data is readable
like so...

cat /sys/block/sda/removable

cat /sys/block/sdb/removable 

  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.

Walter Dnes <waltdnes@...>

Re: Stability of /sys api
-- Walter Dnes
Re: Stability of /sys api
-- Greg KH
Re: Stability of /sys api
-- James Cloos
Re: Stability of /sys api
-- Mike Frysinger
Re: Stability of /sys api
-- Brian Harring
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Automated Package Removal and Addition Tracker, for the week ending 2012-05-13 23h59 UTC
Next by thread:
Re: Stability of /sys api
Previous by date:
Re: Adding PYTHON_TARGETS=python2_7 to base profile
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.