Fix error message for unintialized partition [Closes: 857]
authorUlrich Dangel <uli@spamt.net>
Sat, 12 Jun 2010 21:56:57 +0000 (23:56 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 25 Jun 2010 11:06:42 +0000 (13:06 +0200)
commitb79a4cc0cfb42be3f9f4aa33993f928bffedd692
tree26c7b91938ae2f5da11b60aaf60d314eac698e9c
parent1c1c18c91dac82b0e2ece7c55fa7f6b5253bc8e9
Fix error message for unintialized partition [Closes: 857]

Do an explicit check if specified partition is at least readable and do
not use blkid for it as blkid uses returnvalue 2 for the same reason (no
information availabe, wrong permissions). This will give better feedback
to the user, e.g. if he forget to format the partition.
grml2usb