Bug 119264
| Summary: | device file left over from previous boot can be used to access different device | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alexandre Oliva <oliva> |
| Component: | lvm2 | Assignee: | Alasdair Kergon <agk> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | sct |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-04-08 21:13:10 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 114961 | ||
|
Description
Alexandre Oliva
2004-03-28 00:51:31 UTC
vgmknodes was intended to clear /dev/mapper, but only 'dmsetup mknodes' actually does this; I'm fixing it. Err... but what if I were to use device-mapper for purposes other than LVM? If vgmknodes clears /dev/mapper, wouldn't it kill device nodes that I might be using? 'dmsetup mknodes' ensures that /dev/mapper is in sync with the kernel, adding/deleting entries as required. vgmknodes now calls that too. Non-LVM2 entries will be added/deleted from /dev/mapper depending whether or not they're active in the kernel. Got it. Awesome! Fixed in release 2.00.09. |