[OpenIndiana-discuss] diskinfo difference pfexec sudo

Stephan Althaus Stephan.Althaus at Duedinghausen.eu
Mon Dec 7 11:02:15 UTC 2020


Hello!

I just tried diskinfo on my system an experienced a difference between 
the output of

pfexec diskinfo and sudo diskinfo.

Is this behaviour intended?

$ pfexec diskinfo
TYPE    DISK                    VID      PID SIZE          RMV SSD
SCSI    c34t0d0                 SANDISK SDDR-409          119.08 GiB   
yes no
SATA    c27t1d0                 Samsung  SSD 850 EVO 250GB  232.89 GiB   
no  yes

$ sudo diskinfo
TYPE    DISK                    VID      PID SIZE          RMV SSD
SCSI    c34t0d0                 SANDISK SDDR-409          119.08 GiB   
yes no
SATA    c27t1d0                 Samsung  SSD 850 EVO 250GB  232.89 GiB   
no  yes
NVME    c8t002538B471B9EFD6d0   PM961    NVMe SAMSUNG 1024GB  953.87 
GiB   no  yes
NVME    c9t002538B471B9EFD3d0   PM961    NVMe SAMSUNG 1024GB  953.87 
GiB   no  yes

Why do the NVMe drives need higher rights to see them?


Greetings,

Stephan





More information about the openindiana-discuss mailing list