lkml.org 
[lkml]   [2005]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectfdisk: What do plus signs after "Blocks" mean?
 Hi there,

Fdisk on my machine displays the output shown below. Many partitions
have pluses after "Blocks". The issue is that during installation on
the existing linux setup WinXP screwed up the partition table, and
these pluses were very difficult to recreate. Basically, if I remove
hda9, and then try to recreate it in fdisk, it loses the plus sign and
does not look as before. Also, sometimes fdisk creates a partition with
"+", and sometimes it does not.

Since I did not want to take any chances, I used Knoppix to read a
similar partition table from /dev/hdb using "sfdisk -dx", and then
copied it to /dev/hda by using "sfdisk -fx". If I do not force sfdisk
by using "-f", it complains that there are some inconsistencies.

Can anyone enlighten me what the pluses mean? Also, if a partition
loses pluses after "Blocks", would that destroy a RAID array?

Thanks!
Konstantin



#################
fdisk -l /dev/hda

Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 3 24066 7 HPFS/NTFS
/dev/hda2 4 19457 156264255 5 Extended
/dev/hda5 4 264 2096451 82 Linux swap
/dev/hda6 265 2176 15358108+ fd Linux raid
autodetect
/dev/hda7 2177 4088 15358108+ 7 HPFS/NTFS
/dev/hda8 4089 7912 30716248+ fd Linux raid
autodetect
/dev/hda9 7913 19457 92735212+ fd Linux raid
autodetect




____________________________________________________
Sell on Yahoo! Auctions – no fees. Bid on great items.
http://auctions.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-12 18:45    [W:0.146 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site