On Thu, 21 May 2015 13:07:35 +0200 Karel Zak wrote: > The option '-s' does not affect return code ... we have information > about all (including empty) partitions! Ok, I see. Sounds like the proposed patch is appropriate then. https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=12;filename=0001-Fix-by-forcing-fs-type-to-not-detected-if-not-named.patch;att=1;bug=784709 > Note that my recommendation is to use lsblk, for example: That has the same issue: $ sudo lsblk --noheading --output FSTYPE /dev/sda2 ; echo $? 0 I think for our purposes we would need --nodeps too. -- bye, pabs https://wiki.debian.org/PaulWise
Attachment:
signature.asc
Description: This is a digitally signed message part