DragonFly BSD
DragonFly bugs List (threaded) for 2013-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[DragonFlyBSD - Bug #781] (In Progress) fdisk uses wrong geometry on usb flash drives


From: "Antonio M. Huete Jimenez via Redmine" <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 9 Mar 2013 12:51:17 -0800

Issue #781 has been updated by tuxillo.

Description updated
Status changed from New to In Progress
Assignee deleted (0)

Hi,

Seems still relevant. On a USB stick which is 32GB big:

dfly_i386# fdisk da8
******* Working on device /dev/da8 *******
parameters extracted from device are:
cylinders=10679 heads=115 sectors/track=50 (5750 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=10679 heads=115 sectors/track=50 (5750 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 69,(unknown)
    start 1701060722, size 1936286752 (945452 Meg), flag 6f
        beg: cyl 10/ head 255/ sector 13;
        end: cyl 367/ head 114/ sector 50
The data for partition 2 is:
sysid 10,(OS/2 Boot Manager or OPUS)
    start 1965043315, size 1948279150 (951308 Meg), flag 63
        beg: cyl 781/ head 111/ sector 63;
        end: cyl 357/ head 80/ sector 50
The data for partition 3 is:
sysid 32,(unknown)
    start 1701978209, size 1667853929 (814381 Meg), flag 65
        beg: cyl 353/ head 99/ sector 44;
        end: cyl 370/ head 112/ sector 33
The data for partition 4 is:
sysid 10,(OS/2 Boot Manager or OPUS)
    start 2885681152, size 53696 (26 Meg), flag 69
        beg: cyl 269/ head 97/ sector 50;
        end: cyl 0/ head 0/ sector 0

Cheers,
Antonio Huete
----------------------------------------
Bug #781: fdisk uses wrong geometry on usb flash drives
http://bugs.dragonflybsd.org/issues/781

Author: corecode
Status: In Progress
Priority: Normal
Assignee: 
Category: 
Target version: 


hey,

fdisk uses some stupid geometry like 1/0/1 on usb flash drives.  umass however detects the geometry correctly;  it seems this information is not correctly passed along.

cheers
  simon


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



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