Bug 28417
Summary: | cfdisk creates duplicate partition | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | David Balažic <david.balazic> | ||||||
Component: | util-linux | Assignee: | Elliot Lee <sopwith> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 7.1 | ||||||||
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: | 2001-08-09 09:39:47 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
David Balažic
2001-02-20 12:49:27 UTC
Created attachment 10462 [details]
screenshot of cfdisk before the new partition is added
Created attachment 10463 [details]
screenshot of cfdisk after the new partition was created
I created the new partition by selecting the free space, pressin [N]ew and accepting the offered size ( the entire free space ). I'm not sure if cfdisk is even recommended for use - I vaguely recall that there were some disk features that only fdisk could handle. I'm curious if everything works properly if you use fdisk? Apologies for the unresponsiveness of the previous util-linux packager... No response, can't blame the dude, can't fix the problem. Seems like cfdisk is confused when partitions are not in physical order. Here is how to reproduce it without harming your hard drive : 1. dd if=/dev/zero of=testfile bs=1024 count=80 2. mv /dev/hde /dev/hde.backup 3. mv /dev/loop0 /dev/hde 4. losetup /dev/hde testfile 5. fdisk /dev/hde # enter the following commands : x s 1 h 1 c 80 r o n p 1 2 10 n e 2 11 80 n l 12 20 n l 60 70 n l 22 30 w *EOF* # do not enter this 6. cfdisk /dev/hde : - select the free space between hde7 and hde6, press 'n', press ENTER, voila , two hde7 partitions listed ! 7. to clean up : losetup -d /dev/hde ; mv /dev/hde /dev/loop0 ; mv /dev/hde.backup /dev/hde rm testfile 8. fdisk and cfdisk were from util-linux-2.10s-12.rpm this time This is a good explanation of the problem, but the response remains as before - use fdisk, not cfdisk. Sorry about the confusion, I've removed cfdisk from the util-linux package so that this type of confusion doesn't happen again. |