util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bug: blkid doesn't notice when fs labels change to blank
@ 2012-10-06  9:58 Mike Fleetwood
  2012-11-07 12:17 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Fleetwood @ 2012-10-06  9:58 UTC (permalink / raw)
  To: util-linux

Hi,

When the label of a file system is changed from something to blank,
blkid doesn't recognise that change.

Test case:

# mkfs.ext4 -L test_label /dev/sda15
# blkid /dev/sda15
/dev/sda15: LABEL="test_label"
UUID="81d5f9cf-01eb-4861-b284-ea4fa4e92a3f" TYPE="ext4"
# tune2fs -L '' /dev/sda15
# tune2fs -l /dev/sda15 | grep 'Filesystem volume name'
Filesystem volume name:   <none>
# blkid /dev/sda15
/dev/sda15: LABEL="test_label"
UUID="81d5f9cf-01eb-4861-b284-ea4fa4e92a3f" TYPE="ext4

This seems true regardless of the file system type used.

Thanks,
Mike

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

end of thread, other threads:[~2012-11-07 12:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-06  9:58 bug: blkid doesn't notice when fs labels change to blank Mike Fleetwood
2012-11-07 12:17 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).