lxd/resources: Set RPM to 1 instead of 0 when rotational
lxd/resources: Set RPM to 1 instead of 0 when rotational

Non-ATA drives don't expose their RPMs through udev.
As we don't want to directly have to poke the drives, we instead just
indicate that they are rotating by setting the RPM to 1 if it's
currently 0 and if the kernel recorded them as spinning.

Closes #8718

Signed-off-by: Stéphane Graber <089afc6d81f66f1168a9849e15660feae286e024@ubuntu.com>

hallyn/lxd,atxwebs/lxd,lxc/lxd,hallyn/lxd,lxc/lxd,stgraber/lxd,hallyn/lxd,lxc/lxd,hallyn/lxd,atxwebs/lxd,stgraber/lxd,hallyn/lxd,stgraber/lxd,stgraber/lxd,lxc/lxd,lxc/lxd,stgraber/lxd,stgraber/lxd,atxwebs/lxd,stgraber/lxd,hallyn/lxd,atxwebs/lxd,lxc/lxd,lxc/lxd