[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Overlapping (msdos) partitions - No read?

From: Andy McLaughlin
Subject: Overlapping (msdos) partitions - No read?
Date: Fri, 3 Dec 2004 16:25:15 +0000 (GMT)

I can understand if parted refuses to create them (though, I argue,
there should be some kind of 'force' flag -- and I'd probably be
willing to do that work if everyone agrees).  However, it seems like a
bug that (lib)parted refuses to read them.  The UI reacts as shown
below.  Libparted errors out at ped_disk_new(), I believe.

>From tests I did the other day, this behaviour seems consistent across
various versions from 1.6.6 though 1.6.19:
graham:~ # sfdisk -N1 -f /dev/sdb
  /dev/sdb1 :0 300
graham:~ # sfdisk -N2 -f /dev/sdb
  /dev/sdb2 :150 300
graham:~ # fdisk -l /dev/sdb

Disk /dev/sdb: 36.3 GB, 36398825472 bytes
255 heads, 63 sectors/track, 4425 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         300     2409749+   0  Empty
/dev/sdb2             151         450     2409750    0  Empty
graham:~ # parted -s /dev/sdb print
Disk geometry for /dev/sdb: 0.000-34712.625 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
graham:~ #

ALL-NEW Yahoo! Messenger - all new features - even more fun! 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]