hmm, on Tue, Jan 30, 2007 at 07:40:52PM -0500, Nick Holland said that
> > the cylinders, heads, sectors and the number of total sectors do not match.
> > what does this mean?
> 
> It means translation is stupid, but we keep doing it. :)

ok, now just to make things more interesting, i have found a disk
where fdisk and dmesg output matches, but some other stuff doesn't...


umass0 at uhub3 port 4 configuration 1 interface 0
umass0: Western Digital External HDD, rev 2.00/1.02, addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets
sd0 at scsibus1 targ 1 lun 0: <WD, 1600BEVExternal, 1.02> SCSI0 0/direct fixed
sd0: 152627MB, 152627 cyl, 64 head, 32 sec, 512 bytes/sec, 312581808 sec total


amaaq> fdisk sd0
fdisk: sysctl(machdep.bios.diskinfo): Device not configured
Disk: sd0       geometry: 152627/64/32 [312581808 Sectors]
Offset: 0       Signature: 0xAA55
         Starting       Ending       LBA Info:
 #: id    C   H  S -    C   H  S [       start:      size   ]
------------------------------------------------------------------------
 0: 0C    0   1 32 - 76316  38  1 [          63:   156296322 ] Win95 FAT32L
 1: 83 76316  38  2 - 152625  22  1 [   156296385:   156280320 ] Linux files*
 2: 00    0   0  0 -    0   0  0 [           0:           0 ] unused
 3: 00    0   0  0 -    0   0  0 [           0:           0 ] unused


but 

152627 * 64 * 32 = 312580096 and not 312581808


also according to windows the geometry is 19457/255/63

19457 * 255 * 63 = 312576705

312581808 - 312576705 = 5103, that's the same amount of sectors
i can't use with the 500G disk.


so what's up with these dick measurements?

-f
-- 
forget everything, as one day everything will forget you.

Reply via email to