Gentoo Archives: gentoo-dev

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Developers <gentoo-dev@l.g.o>
Subject: [gentoo-dev] Stability of /sys api
Date: Mon, 14 May 2012 07:55:53
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@××××××××.org>


Subject Author
Re: [gentoo-dev] Stability of /sys api Brian Harring <ferringb@×××××.com>
Re: [gentoo-dev] Stability of /sys api James Cloos <cloos@×××××××.com>
Re: [gentoo-dev] Stability of /sys api Walter Dnes <waltdnes@××××××××.org>
Re: [gentoo-dev] Stability of /sys api Greg KH <gregkh@g.o>
Re: [gentoo-dev] Stability of /sys api Mike Frysinger <vapier@g.o>