[systemd-devel] [PATCH] readahead: ARM: fix rotational media detection for MMC
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Wed May 14 20:22:56 PDT 2014
On Wed, May 14, 2014 at 06:20:42PM +0200, Lennart Poettering wrote:
> On Wed, 14.05.14 11:33, Koen Kooi (koen at dominion.thruhere.net) wrote:
>
> > ~# cat /sys/class/block/mmcblk0/queue/rotational
> > 0
>
> This is what readahead checks for, and which apears to be correctly set
> to 0. So everything is in order and the readahead tool should properly
> detect this as ssd...
I added a small "test" to expose fs_on_ssd(): test-ssd <path> will print
what systemd thinks about the fs under <path>.
Zbyszek
More information about the systemd-devel
mailing list