In message <[EMAIL PROTECTED]>, John Hay wri
tes:
>> : Hmmm. I just noticed that the disks probe with zero values for the
>> : heads, sectors/track and cylinders. I have tried two different USB
>> : CF readers and both do it. On 4.x it probes with the correct values
>> : on the same machine and the same devices. So why do they probe
>> : wrong?
>> 
>> Don't know.  I've had problems with CF readers returning the wrong
>> geometry values in 4.3, but never 0's
>
>Ok, I found it. It is part of the rev 1.61 change to umass.c. It was
>made in June. :-/ The relevant piece is this:

>So the question now is do we just leave umass like this, which means we
>can't do low level disk stuff on umass devices, or do we add something
>like this back or is there another way? Is there a way to get the real
>geometry of the device?

We should obviously fix it.  I have no idea what is possible in USB
devices in this respect.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to