[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 1.Thanks, 2.Bug(?)
From: |
Wlodek Drabent |
Subject: |
Re: 1.Thanks, 2.Bug(?) |
Date: |
Wed, 13 Feb 2002 22:39:22 +0100 |
Hello
Thanks for your answer.
Unfortunately, the disk is now in use and I cannot play with it anymore.
And I do not have sufficiently systematic notes...
> > (Also, parted was able to create overlapping partitions.
> REALLY?!
Maybe not exactly.
BUT fdisk said:
Partition 6: previous sectors 3330493 disagrees with total 3338240
[I found fdisk/cfdisk listings of this situation, enclosed below.]
"A professional partitioning program" gave:
sector 3330494 error 114
EPBR not at the beginning of cylinder
and moved it to 3330432, running into error 108 (unexplained).
cfdisk refused to start:
Bad logical partition 6 enlarged overlap
(But this could be after the abovementioned program corrected the
beginning of part. 7).
................
> > Also, other tools complained about its results. For instance cfdisk
> > called after parted displayed NC for partitions not modified by
> > parted).
> Can you give me instructions for reproducing this?
Unfortunately no. Together with NC, cfdisk also displayed free spaces
of some 0.04MB each.
It happened more than once. It seems that eg. after trying to enlarge
the last partition (fat).
................
> > And any attempt of enlarging by "resize" failed,
> > resulting in a partition without the last cylinder.
> Parted doesn't permit this, because other programs don't like it.
I see, so it is a feature, not a bug.
................
> > Could I also suggest an improvement? It would be VERY useful if
> > before writing anything to the disk parted asked for a confirmation,
> > displaying a description of what is going to be done.
> > Now the user does not know, for instance, how the numbers she types
> > are actually interpreted.
> In future (near future)... it will warn the user if it's going to
> do something significantly different to what the user asked.
It would be safer to do it always. (The numbers of MB seems almost
always adjusted by parted. Typos are possible, especially in
partition numbers, or using command abbreviations, etc.)
best regards
--Wlodek
................
Disk /dev/hda: 128 heads, 63 sectors, 993 cylinders
Units = cylinders of 8064 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 5 225 891072 7 HPFS/NTFS
/dev/hda2 * 226 993 3096576 5 Extended
/dev/hda3 1 4 16096+ 12 Compaq diagnostics
/dev/hda5 226 381 628960+ 83 Linux
/dev/hda6 382 414 129023+ 82 Linux swap
/dev/hda7 414 819 1636960+ 83 Linux
/dev/hda8 820 993 701536+ 6 FAT16
Command (m for help): v
Partition 6: previous sectors 3330493 disagrees with total 3338240
248 unallocated sectors
414 * 8064 = 3338496 413 * 8064 = 3330432
Partition Table for /dev/hda
First Last
# Type Sector Sector Offset Length Filesystem Type (ID) Flags
-- ------- -------- --------- ------ --------- ---------------------- ---------
3 Primary 0 32255 63 32256 Compaq diagnostic (12) None (00)
1 Primary 32256 1814399 0 1782144 HPFS/NTFS (07) None (00)
2 Primary 1814400 8007551 0 6193152 Extended (05) Boot (80)
5 Logical 1814400 3072383 63 1257984 Linux (83) None (00)
6 Logical 3072384 3330493* 63 258110* Linux swap (82) None (00)
7 Logical 3330494* 6604415 1# 3273922* Linux (83) None (00)
8 Logical 6604416 8007551 63 1403136 FAT16 (06) None (00)
Partition Table for /dev/hda
---Starting--- ----Ending---- Start Number of
# Flags Head Sect Cyl ID Head Sect Cyl Sector Sectors
-- ----- ---- ---- ---- ---- ---- ---- ---- -------- ---------
1 0x00 0 1 4 0x07 127 63 224 32256 1782144
2 0x80 0 1 225 0x05 127 63 992 1814400 6193152
3 0x00 1 1 0 0x12 127 63 3 63 32193
4 0x00 0 0 0 0x00 0 0 0 0 0
5 0x00 1 1 225 0x83 127 63 380 63 1257921
6 0x00 1 1 381 0x82 0 62 413 63 258047
7 0x00 1 1 413 0x83 127 63 818 1 3273921
8 0x00 1 1 819 0x06 127 63 992 63 1403073
address@hidden fdisk -lu /dev/hda
Disk /dev/hda: 128 heads, 63 sectors, 993 cylinders
Units = sectors of 1 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 32256 1814399 891072 7 HPFS/NTFS
/dev/hda2 * 1814400 8007551 3096576 5 Extended
/dev/hda3 63 32255 16096+ 12 Compaq diagnostics
/dev/hda5 1814463 3072383 628960+ 83 Linux
/dev/hda6 3072447 3330493 129023+ 82 Linux swap
/dev/hda7 3330495 6604415 1636960+ 83 Linux
/dev/hda8 6604479 8007551 701536+ 6 FAT16
- 1.Thanks, 2.Bug(?), Wlodek Drabent, 2002/02/12
- Re: 1.Thanks, 2.Bug(?), Andrew Clausen, 2002/02/13
- Re: 1.Thanks, 2.Bug(?),
Wlodek Drabent <=
- Re: 1.Thanks, 2.Bug(?), Andrew Clausen, 2002/02/14
- Re: 1.Thanks, 2.Bug(?), Wlodek Drabent, 2002/02/14
- Re: 1.Thanks, 2.Bug(?), Andrew Clausen, 2002/02/14
- Re: 1.Thanks, 2.Bug(?), Wlodek Drabent, 2002/02/16