External disk problem.

Erik P. Olsen epodata at gmail.com
Mon Jul 30 10:09:18 UTC 2012


On 30/07/12 11:51, Bryn M. Reeves wrote:
> On Mon, 2012-07-30 at 11:42 +0200, Erik P. Olsen wrote:
>> On 30/07/12 10:44, Bryn M. Reeves wrote:
>>> What state is the device in following a resume?
>>> (/sys/block/sd*/device/state).
>>
>> What is that? I don't see anything near this path on my system. You probably
>> mean a faulty resume, in that case I'll have to wait til it happens again.
>
> No, I meant what state the device is in following a resume.. It should
> be "running" prior to the suspend (and at all times during normal
> operation).
>
> The above path is a sysfs attribute that indicates the state of the
> block device.
>
> E.g. for sda on my system:
>
> $ cat /sys/block/sda/device/state
> running

It says running both before and after suspend/resume.

-- 
Erik


More information about the users mailing list