Package: util-linux Version: 2.25.2-3 Severity: normal Hi,
this is what the usual behaviour was for blkid when executing it on an unformatted partition, e.g. with util-linux 2.20.1-5.6 you get: # blkid -s TYPE -o value /dev/sda1 # echo $? 2 # blkid /dev/sda1 # echo $? 2 Now with with util-linux version 2.25.2-* we get instead: # blkid -s TYPE -o value /dev/sda1 # echo $? 0 # blkid /dev/sda1 /dev/sda1: PARTUUID="000e1222-01" This behaviour change caused a regression in grml-debootstrap for its filesystem detection because it relies on the exit code. The manpage of blkid says: ,---- [ man blkid ] | RETURN CODE | If the specified token was found, or if any tags were shown from (specified) devices, 0 is returned. | If the specified token was not found, or no (specified) devices could be identified, an exit code of 2 is returned. | For usage or other errors, an exit code of 4 is returned. | If the ambivalent low-level probing result was detected, an exit code of 8 is returned. `---- I think either the man page is wrong/misleading and/or the exit code of "blkid -s TYPE -o value ..." is wrong if nothing is reported? regards, -mika- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/[email protected]

