lsblk odd results

Grizzly Real_Grizz_Adams at yahoo.co.uk
Fri Feb 22 08:11:06 UTC 2019


22 February 2019  at 8:32, Ralf Mardorf via ubuntu-users wrote:
Re: lsblk odd results (at least in part)

Thanks 

your own results confirm what I said

Your SSD's return 0 & your DVD returns 1

So by your reasoning you would have 4 rotational devices and a non rotational 
DVD ??

>Hi,

>the output is correct, your reasoning isn't.

>0 = true  or right
>1 = false or wrong

>$ lsblk --help | grep ROTA
>        ROTA  rotational device

>IOW an USB memory stick in _not_ a rotational device, so it returns
>'rotational device = false'.
>
>My PC is equipped with 4 internal SSDs and an internal DVD drive, so the
>output I get is correct:
>
>$ lsblk -d -o NAME,ROTA
>NAME ROTA
>sda     0
>sdb     0
>sdc     0
>sdd     0
>sr0     1





More information about the ubuntu-users mailing list