christos
|
8d10f96266
|
Replace DIOCGPART -> DIOCGPARTINFO which returns the data needed instead of
pointers.
|
2015-12-08 20:36:14 +00:00 |
|
christos
|
577177e86e
|
get the wedge info first if it exists, because this will support larger sizes.
|
2014-12-31 19:50:14 +00:00 |
|
chs
|
cbab9cadce
|
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
|
2012-10-27 17:17:22 +00:00 |
|
tsutsui
|
71a1f51386
|
unsigned -> unsigned int
|
2012-07-07 16:15:20 +00:00 |
|
tsutsui
|
50365d7376
|
Check if secsize and numsec returned from ioctl's are sane values
and add DIAGNOSTIC messages in getdisksize().
Discussed on source-changes-d@:
http://mail-index.NetBSD.org/source-changes-d/2012/07/02/msg004989.html
and patch is reviwed by christos@ and pgoyette@.
|
2012-07-07 16:10:23 +00:00 |
|
drochner
|
d4145bf15d
|
minor mostly cosmetical fixes: use designated type for device major
numbers, typo in comment, misuse of minor()
(the latter one is not cosmetical, but would only affect systems
with more than 256 disk wedges)
|
2012-04-27 18:15:55 +00:00 |
|
christos
|
db09922d6f
|
make this bitch less when we have wedges (EBUSY for the underlying disks)
|
2012-04-07 05:38:07 +00:00 |
|
tsutsui
|
1895e14ada
|
Revert "stopcap fix" for rump by christos, which causes build failure on
most non-x86 ports and seems unnecessary. (caused by wrong rump_namei.h?)
|
2011-11-27 00:38:12 +00:00 |
|
christos
|
752d06786f
|
stopgap fix for rump build
|
2011-11-25 17:53:20 +00:00 |
|
christos
|
d103aa656f
|
Add getdiskinfo() to centralize the DIOCGPART mess in one place.
|
2011-11-13 22:54:05 +00:00 |
|
jmcneill
|
d2b1c474ba
|
Add an FSILENT flag and use it to suppress "Medium Not Present" scsipi
spam when trying to access offline drives at boot.
|
2011-07-30 12:08:36 +00:00 |
|
mlelstv
|
49be4d025a
|
Add helper function that determines the size and block size of a disk device.
For now we query
- the disk label
- the wedge info and data from disk(9)
|
2010-01-30 11:57:17 +00:00 |
|
pooka
|
f926eb58c3
|
Remove autoconf dependency on vfs and dk:
opendisk() -> kern/subr_disk_open.c
config_handle_wedges -> dev/dkwedge/dk.c
|
2009-09-06 16:18:55 +00:00 |
|