|
Bugzilla – Full Text Bug Listing |
| Summary: | YaST2 spins up unmounted harddisks for many harddisk-unrelated config tasks | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.2 | Reporter: | Andreas Nordal <andreas_nordal_4> |
| Component: | YaST2 | Assignee: | E-mail List <yast2-maintainers> |
| Status: | RESOLVED WONTFIX | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Minor | ||
| Priority: | P5 - None | ||
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE 12.2 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Andreas Nordal
2013-07-20 21:37:32 UTC
As soon as libstorage data is initialized it need to determine some stuff from block devices. So far there is no way as to determine these with call to e.g parted and blkid. Both need to access disks/partitions to read metadata (partition table/filesystem type/raid superblocks). As long as there is no "libstorage-daemon" that keeps that information available forever after system startup I see no way to avoid this. Enumerating disks and partitions without spinning them up can be done by looking at /dev/disk/by-id/. Is it necessary to determine filesystem type/raid superblocks for non-mounted filesystems? If not, that's the answer: - Filesystems, just look at /proc/mounts. - Raid superblocks, I'm guessing there must be (similar) ways to see how block devices are in use by mdadm/lvm. If it ain't in use, don't look at it ;) |