Gentoo Archives: gentoo-dev

From: James Cloos <cloos@×××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Stability of /sys api
Date: Mon, 14 May 2012 22:10:06
Message-Id: m3vcjyju2h.fsf@carbon.jhcloos.org
In Reply to: Re: [gentoo-dev] Stability of /sys api by Walter Dnes
1 >> My USB drive reports 0.
2
3 WD> You're right. Same for me. Thanks for pointing it out.
4
5 The removable flag specifies whether the drive has removable media;
6 before flash drives only things like floppy, optical, zip, etc drives
7 had removable==1. It also would be accurate for flash card readers.
8 If thumb drives specify it, then they lie.
9
10 The flag is read from the drive's metadata.
11
12 -JimC
13 --
14 James Cloos <cloos@×××××××.com> OpenPGP: 1024D/ED7DAEA6