2012-08-14 11:54:46

by Jan Engelhardt

[permalink] [raw]
Subject: Re: [PATCH] add blockconsole version 1.1


On Wednesday 2012-07-18 20:53, Jörn Engel wrote:
>
>> With the include added, it builds fine. Then I took an usb stick and I
>> did:
>>
>> $ ./mkblockconsole /dev/sdc
>>
>> <reboot>
>
>You can also run hdparm -z <dev> instead.

We have too many ways of doing some things.
util-linux conveniently has `blockdev --rereadpt /dev/sdc`.