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

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

 



On December 10, 2012 at 9:42 AM Karel Zak <kzak@xxxxxxxxxx> wrote:
> 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

Typo? "$?2" should lead to "02".

It really exits 0 here, when run as non-root user and when
/dev/.blkid.tab doesn't exist yet.

> > And another issue: blkid segfaults with this - okay, bad use of options:
> >
> >   ./blkid -n /dev/sdb3
> >   Segmentation fault
>
>  Fixed by:
...
> > Using latest git; it doesn't dump core with 2.20.1.
>
>  Really latest? ;-)

Yes, now (forgot make after pull, sorry) ;-)

Ok, that means the segfault is fixed, but the above
issue is still there.

Have a nice day,
Berny
--
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