Re: blkid: exit code as non-root user, and segfault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 09, 2012 at 06:52:29PM +0100, Bernhard Voelker wrote:
> blkid returns 0 without output when running as non-root user
> and when the cache /dev/.blkid.tab is not yet there:
> 
>   ./blkid /dev/sdb3 ; echo $?
>   0

./blkid /dev/sdb3; echo $?2
2

> And another issue: blkid segfaults with this - okay, bad use of options:
> 
>   ./blkid -n /dev/sdb3
>   Segmentation fault

 Fixed by:

 commit 2e31fe2303e4938ef735aebf13aa5b22fb031af9
 Author: Karel Zak <kzak@xxxxxxxxxx>
 Date:   Tue Dec 4 11:58:13 2012 +0100

     libblkid: cleanup nonnull attribute usage


> Using latest git; it doesn't dump core with 2.20.1.

 Really latest? ;-)

    Karel


-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux