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 |
Message-Id: | 20120514075353.GB5819@waltdnes.org |
1 | After some Google-searching, I think I've figured out how to implement |
2 | automounting under mdev. I'd like to put in as much sanity-checking |
3 | into the script as possible. Right now I have 1 USB stick plugged in as |
4 | /dev/sdb. Th hard drive is /dev/sda. The "removable" data is readable |
5 | like so... |
6 | |
7 | cat /sys/block/sda/removable |
8 | 0 |
9 | |
10 | cat /sys/block/sdb/removable |
11 | 1 |
12 | |
13 | My question... is this API stable or deprecated? I.e. can I count on |
14 | it being around for a while? I figure this question is a developer type |
15 | question rather than ordinary user type. |
16 | |
17 | -- |
18 | Walter Dnes <waltdnes@××××××××.org> |
Subject | Author |
---|---|
Re: [gentoo-dev] Stability of /sys api | Brian Harring <ferringb@×××××.com> |
Re: [gentoo-dev] Stability of /sys api | Mike Frysinger <vapier@g.o> |
Re: [gentoo-dev] Stability of /sys api | James Cloos <cloos@×××××××.com> |
Re: [gentoo-dev] Stability of /sys api | Greg KH <gregkh@g.o> |
Re: [gentoo-dev] Stability of /sys api | Walter Dnes <waltdnes@××××××××.org> |