util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mike Fleetwood <mike.fleetwood@googlemail.com>
To: util-linux@vger.kernel.org
Subject: bug: blkid doesn't notice when fs labels change to blank
Date: Sat, 6 Oct 2012 10:58:46 +0100	[thread overview]
Message-ID: <CAMU1PDjWg3AG+V86MmDUC7X-+_DbHhxda_fMSqL9P-do4wC6uA@mail.gmail.com> (raw)

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

             reply	other threads:[~2012-10-06  9:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-06  9:58 Mike Fleetwood [this message]
2012-11-07 12:17 ` bug: blkid doesn't notice when fs labels change to blank Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMU1PDjWg3AG+V86MmDUC7X-+_DbHhxda_fMSqL9P-do4wC6uA@mail.gmail.com \
    --to=mike.fleetwood@googlemail.com \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).