Re: [PATCH] add blockconsole version 1.1

From: Jan Engelhardt
Date: Tue Aug 14 2012 - 07:54:38 EST



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`.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/