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
In Reply to: Re: [gentoo-dev] Stability of /sys api by Walter Dnes
>> My USB drive reports 0.
WD> You're right. Same for me. Thanks for pointing it out. The removable flag specifies whether the drive has removable media; before flash drives only things like floppy, optical, zip, etc drives had removable==1. It also would be accurate for flash card readers. If thumb drives specify it, then they lie. The flag is read from the drive's metadata. -JimC -- James Cloos <cloos@×××××××.com> OpenPGP: 1024D/ED7DAEA6