public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* output from "blkid" unstable (util-linux 2.22.2)
@ 2013-01-28 21:43 Andreas Hofmeister
  2013-02-01 15:11 ` Karel Zak
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Hofmeister @ 2013-01-28 21:43 UTC (permalink / raw)
  To: util-linux

Hi,


my "/dev/sdc" is LVM PV and "bkid says so - sometimes:

---8<---
root@ai:~# blkid /dev/sdc
root@ai:~# blkid /dev/sdc
/dev/sdc: UUID=",,," TYPE="LVM2_member"
root@ai:~# blkid /dev/sdc
/dev/sdc: UUID="..." TYPE="LVM2_member"
root@ai:~# blkid /dev/sdc
root@ai:~# blkid /dev/sdc
/dev/sdc: UUID="..." TYPE="LVM2_member"
,,,
--->8---

When looking at "blkid.tab" after each blkid invocation, it seems a 
record for "/dev/sdc" is added and then is removed again.

"blkid" from 2.21 did not have that problem, and a git bisect revealed 
commit 2b29c1bfca6e52c9c1ce2e41fde7967c150c5877 as the culprit.

Reverting that commit made "blkid.tab" and "blkid" output stable.

Ciao
   Andi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: output from "blkid" unstable (util-linux 2.22.2)
  2013-01-28 21:43 output from "blkid" unstable (util-linux 2.22.2) Andreas Hofmeister
@ 2013-02-01 15:11 ` Karel Zak
  2013-02-01 15:53   ` Karel Zak
  2013-02-02 19:45   ` Andreas Hofmeister
  0 siblings, 2 replies; 4+ messages in thread
From: Karel Zak @ 2013-02-01 15:11 UTC (permalink / raw)
  To: Andreas Hofmeister; +Cc: util-linux

On Mon, Jan 28, 2013 at 10:43:23PM +0100, Andreas Hofmeister wrote:
> ---8<---
> root@ai:~# blkid /dev/sdc
> root@ai:~# blkid /dev/sdc
> /dev/sdc: UUID=",,," TYPE="LVM2_member"
> root@ai:~# blkid /dev/sdc
> /dev/sdc: UUID="..." TYPE="LVM2_member"
> root@ai:~# blkid /dev/sdc
> root@ai:~# blkid /dev/sdc
> /dev/sdc: UUID="..." TYPE="LVM2_member"
> ,,,
> --->8---
> 

 Probably fixed in our git three.

 Andreas, please try:

  git clone git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git
  cd util-linux
  ./autogen.sh
  ./configure
  make blkid

  # ./blkid /dev/sdc

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: output from "blkid" unstable (util-linux 2.22.2)
  2013-02-01 15:11 ` Karel Zak
@ 2013-02-01 15:53   ` Karel Zak
  2013-02-02 19:45   ` Andreas Hofmeister
  1 sibling, 0 replies; 4+ messages in thread
From: Karel Zak @ 2013-02-01 15:53 UTC (permalink / raw)
  To: Andreas Hofmeister; +Cc: util-linux

On Fri, Feb 01, 2013 at 04:11:31PM +0100, Karel Zak wrote:
>  Probably fixed in our git three.

ops...  s/three/tree/ ;-)

 Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: output from "blkid" unstable (util-linux 2.22.2)
  2013-02-01 15:11 ` Karel Zak
  2013-02-01 15:53   ` Karel Zak
@ 2013-02-02 19:45   ` Andreas Hofmeister
  1 sibling, 0 replies; 4+ messages in thread
From: Andreas Hofmeister @ 2013-02-02 19:45 UTC (permalink / raw)
  To: Karel Zak; +Cc: util-linux

On 02/01/2013 04:11 PM, Karel Zak wrote:

>    cd util-linux
>    ./autogen.sh

Had a bit if a problem with my auto-tools, so I could not actually check 
"master"

But apparently you found the problem already :-)

I applied your commit 6a0766444dc4f1b23b1f0da9c380fb1ced0bfb0a onto the 
sources from the v2.22.2 tar archive. So far, that seems to have fixed 
the problem.

Thanks
   Andi



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-02 19:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-28 21:43 output from "blkid" unstable (util-linux 2.22.2) Andreas Hofmeister
2013-02-01 15:11 ` Karel Zak
2013-02-01 15:53   ` Karel Zak
2013-02-02 19:45   ` Andreas Hofmeister

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox