public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Stability of /sys api
@ 2012-05-14  7:53 Walter Dnes
  2012-05-14  8:43 ` Brian Harring
                   ` (4 more replies)
  0 siblings, 5 replies; 35+ messages in thread
From: Walter Dnes @ 2012-05-14  7:53 UTC (permalink / raw
  To: Gentoo Developers

  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
0

cat /sys/block/sdb/removable 
1

  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@waltdnes.org>



^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2012-05-19 20:33 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-14  7:53 [gentoo-dev] Stability of /sys api Walter Dnes
2012-05-14  8:43 ` Brian Harring
2012-05-14 16:09 ` Mike Frysinger
2012-05-15  1:17   ` Greg KH
2012-05-14 16:31 ` James Cloos
2012-05-14 16:56   ` Olivier Crête
2012-05-14 17:11     ` Ciaran McCreesh
2012-05-14 22:02     ` James Cloos
2012-05-14 17:59   ` Walter Dnes
2012-05-14 22:06     ` James Cloos
2012-05-15  1:23 ` Greg KH
2012-05-15  1:56   ` Maxim Kammerer
2012-05-15  5:05     ` Walter Dnes
2012-05-15  6:32       ` Olivier Crête
2012-05-15  8:30         ` Canek Peláez Valdés
2012-05-15 20:29         ` Walter Dnes
2012-05-15 20:47           ` Nirbheek Chauhan
2012-05-15 18:28       ` Greg KH
2012-05-15 18:21     ` Greg KH
2012-05-15 20:21       ` Maxim Kammerer
2012-05-15  2:13   ` William Hubbs
2012-05-17  5:48     ` [gentoo-dev] " Steven J Long
2012-05-18 18:36       ` William Hubbs
2012-05-19 19:36         ` [gentoo-dev] Implementing udev without an initramfs (Was: Stability of /sys api) Steven J Long
2012-05-19 20:20           ` Samuli Suominen
2012-05-19 20:33           ` Michał Górny
2012-05-15  5:55   ` [gentoo-dev] Stability of /sys api Walter Dnes
2012-05-15 18:26     ` Greg KH
2012-05-15 22:38       ` Walter Dnes
2012-05-15 22:44         ` Stelian Ionescu
2012-05-15 23:51           ` Walter Dnes
2012-05-16  1:09             ` William Hubbs
2012-05-16  4:07             ` Arun Raghavan
2012-05-16  4:17               ` Luca Barbato
2012-05-15 23:54 ` Walter Dnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox