Bug 126996
Summary: | sfdisk -s won't list the sizes of all disks | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Jean Marc BOUCHER <jean-marc.boucher> |
Component: | util-linux | Assignee: | Elliot Lee <sopwith> |
Status: | CLOSED WORKSFORME | QA Contact: | Ben Levenson <benl> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-12-10 15:41:23 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: |
Description
Jean Marc BOUCHER
2004-06-30 11:52:55 UTC
The behaviour has changed somewhat since RHEL 2.1AS. Under RHEL 3, I would expect the individual partitions to be listed, and no 'total' line to be printed. The curious thing is that 'sfdisk -s' on RHEL3 seems to have only printed the /dev/sda* partitions instead of printing the /dev/sd[bcde]* partitions as well - was that in fact the case, or did you just truncate the output? no output truncated !!! the first output is on a server with one drive only (sda) and the second is on another server with five drives (sda, sdb, sdc, sdd, sde) if you read the man page of sfdisk it says: List Sizes sfdisk -s partition gives the size of partition in blocks. This may be useful in connection with programs like mkswap or so. Here partition is usually something like /dev/hda1 or /dev/sdb12, but may also be an entire disk, like /dev/xda. % sfdisk -s /dev/hda9 81599 % If the partition argument is omitted, sfdisk will list the sizes of all disks, and the total: % sfdisk -s /dev/hda: 208896 /dev/hdb: 1025136 /dev/hdc: 1031063 /dev/sda: 8877895 /dev/sdb: 1758927 total: 12901917 blocks % so why the behaviour of sfdisk -s as changed on RH ES 3 ? regards jmb just a comment: we have bought a redhat enterprise server support and not a "fedora one" ;-) . the delay are very long for a professionnal support answer !!! if you want professionnal IT keep on using your enterprise solutions, you'd better answer more quickly ... Hey, just noticed this old bug. Sorry for the very long delay. bugzilla is not a support forum - please contact Red Hat support through the standard channels. The behaviour changed in RHEL3 to handle another more serious bug, but the man pages weren't updated to match. In the development tree, another fix is just going in that returns to the original behaviour while dealing with the other bug. |