Bug 400321
| Summary: | blkid does not scan raw block device | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Anchor Systems Managed Hosting <managed> | ||||||
| Component: | e2fsprogs | Assignee: | Eric Sandeen <esandeen> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 8 | CC: | kzak, oliver | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 1.40.4-1.fc8 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2008-02-16 02:12:14 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Anchor Systems Managed Hosting
2007-11-26 23:53:15 UTC
Created attachment 269391 [details]
strace of blkid
I know about this bug. I found the bug when I read libblkid code few weeks ago. Sorry, forgot to fill BZ. The problem is in devname.c, probe_all(); where is heuristic that doesn't work correctly with unpartitioned disks when the disk is followed by another device<n>. For example: sda loop0 Created attachment 269931 [details]
proposed change
I think this should address the issue... hopefully without breaking anything
else.
Karel, care to give it a look-over, since you've recently read this code as
well? With that much review I'll send it up to Ted. :)
Thanks,
-Eric
Seems good. Go ahead ;-) Sent upstream: http://marc.info/?l=linux-ext4&m=119636478426226&w=2 patch is upstream now, I'll get it to e2fsprogs for fedora soon http://git.kernel.org/?p=fs/ext2/e2fsprogs.git;a=commitdiff;h=38361bbbb55735cf0f4ed6d56079c70fb3328036 e2fsprogs-1.40.4-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. |