Hi everyone,

further debugging allowed me to find the root cause.

I think there is a bug in line 1356 of the function checkdisk in subroutines:

$(stat -c %G /dev/$device) = "disk"


According to the manuals I found 
(https://man7.org/linux/man-pages/man1/stat.1.html)


stat -c %G

returns the group of the owner, but nothing related to a device type.


Therefore reintroducing the old way of determining hard drives fixes this issue.




--------------------------------------------------------------------
(SFB1170, Project Z03, part-time system administration)
Interested in Research Software? https://de-rse.org/chapter/wue/
http://z03.physik.uni-wuerzburg.de  (uni network)

Theoretische Physik 1
Institut für theoretische Physik und Astrophysik
Am Hubland, 97074 Würzburg
GERMANY

Reply via email to