From: Eric Sandeen <sandeen@redhat.com>
To: Autif Khan <autif.mlist@gmail.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: /dev/disk/by-label missing after upgrade to 1.42.7
Date: Thu, 13 Jun 2013 16:35:55 -0500 [thread overview]
Message-ID: <51BA3B3B.9090508@redhat.com> (raw)
In-Reply-To: <CADzUK1+D2NJ3WC4jz-HKHQGyF7GGKGytLnA=bvGHsL5iNa-hMw@mail.gmail.com>
On 6/13/13 2:45 PM, Autif Khan wrote:
> On Thu, Jun 13, 2013 at 2:55 PM, Autif Khan <autif.mlist@gmail.com> wrote:
>> Hi,
>>
>> We are using /dev/disk/by-label/OURLABEL to mount USB disk partitions.
>>
>> We were using Ubuntu 12.04 with 1.42 version of e2fsprogs - where we
>> encountered SSD corruption issues on unclean powerdown. It was
>> suggested that we upgrade to the latest e2fsprogs
>> (http://marc.info/?l=linux-ext4&m=137035378614543&w=2).
>>
>> After the upgrade to 1.42.7, we do not have /dev/disk/by-label
>>
>> I am not sure if this is the right place to ask this - but I thought
>> that I should start here and ask in udev mailing list later - (that
>> whole thing about correlation mumble causation).
>>
>> I am still researching how /dev/disk/by-label comes into existence -
>> please advice if there is something obvious that I am missing.
>>
>
> Thanks djwong#ext4 for all the help on IRC
>
> It seems like blkid -o udev /dev/sdb1 displays info about the volume -
> which is used by udev rules to populates /dev/disk/by-label
>
> The output when e2fsprogs version 1.42 was used:
>
> ubuntu@mac0013950af6fb:/lib/udev/rules.d$ sudo blkid -o udev -p /dev/sdb1
ubuntu isn't using blkid from util-linux?
That's really where it's maintained these days, a little surprised that
blkid's still in use from e2fsprogs, though I don't know my ubuntu
releases. Maybe this is Crufty Crow? ;)
Fedora has been building w/ --disable-libblkid for quite a while,
just FWIW.
-Eric
> ID_FS_LABEL=KOKO
> ID_FS_LABEL_ENC=KOKO
> ID_FS_UUID=56D8-F5EE
> ID_FS_UUID_ENC=56D8-F5EE
> ID_FS_VERSION=FAT32
> ID_FS_TYPE=vfat
> ID_FS_USAGE=filesystem
> ID_PART_ENTRY_SCHEME=dos
> ID_PART_ENTRY_TYPE=0xb
> ID_PART_ENTRY_FLAGS=0x80
> ID_PART_ENTRY_NUMBER=1
> ID_PART_ENTRY_OFFSET=32
> ID_PART_ENTRY_SIZE=251616
> ID_PART_ENTRY_DISK=8:16
>
>
> The output when e2fsprogs version 1.42.7 was used:
> ubuntu@mac001395089897:~$ sudo blkid -o udev /dev/sda1
> Invalid output format udev. Choose from value,
> device, list, or full
>
> BTW, sudo blkid -o full /dev/sdb1 worked just fine - had the LABEL and
> everything.
>
> Also - looks like 1.42.7 does not support the -p option. From the man page:
>
> -p Switch to low-level superblock probing mode (bypass cache).
>
> Is there a configuration option that will allow blkid to display udev
> output formats? I could not find with ./configure --help
>
> Thanks
>
> Autif
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2013-06-13 21:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-13 18:55 /dev/disk/by-label missing after upgrade to 1.42.7 Autif Khan
2013-06-13 19:45 ` Autif Khan
2013-06-13 21:35 ` Eric Sandeen [this message]
2013-06-13 22:56 ` Darrick J. Wong
2013-06-14 1:26 ` Theodore Ts'o
2013-06-20 23:08 ` Autif Khan
2013-06-21 0:23 ` Theodore Ts'o
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=51BA3B3B.9090508@redhat.com \
--to=sandeen@redhat.com \
--cc=autif.mlist@gmail.com \
--cc=linux-ext4@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.