summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_synch.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1997-12-29 07:49:31 +0000
committerjulian <julian@FreeBSD.org>1997-12-29 07:49:31 +0000
commita13419db88e50802188382f3b17472bbe150ac38 (patch)
tree4aa10509ce4c3cf510f08e1e5a39d238ce8ee58a /sys/kern/kern_synch.c
parentab8e3efb1c245337feb2531e75ec5961a37154d6 (diff)
downloadFreeBSD-src-a13419db88e50802188382f3b17472bbe150ac38.zip
FreeBSD-src-a13419db88e50802188382f3b17472bbe150ac38.tar.gz
If available, use the device's LOGICAL blocksize as reported by
the "READ_CAPACITY" command, rather than the physical blocksize reported in the physical geometry code-page. Also don't print out worrying bogus messages when probing a device that has no media. There's no point in printing out something that is unknowable. It just confuses things. Move the check for valid blocksize out of 'open()' to the subroutine that actually finds this out, thus probe/attach can also report and act on the problem.
Diffstat (limited to 'sys/kern/kern_synch.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud