index
:
src
cvs/HEAD
kms/intel
kms/radeon
master
OpenBSD base system
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
sys
/
kern
/
subr_disk.c
Age
Commit message (
Expand
)
Author
2023-11-15
Constify disk_map()'s path argument
Klemens Nanni
2023-02-10
Remove explicit rejection of zero duid in disk_map() added in 1.262.
Miod Vallat
2022-11-11
Revert last until we can guarantee gh_guid can't escape to the
Kenneth R Westerback
2022-11-11
Use the first 8 bytes of GPT gh_guid as the default d_uid. gh_guid is
Kenneth R Westerback
2022-11-10
Add mbr_get_fstype() and use it to translate MBR dp_typ fields
Kenneth R Westerback
2022-11-09
gpt_get_fstype() doesn't modify its parameter so make said
Kenneth R Westerback
2022-11-07
Nuke last references to d_drivedata.
Kenneth R Westerback
2022-10-11
Give checkdisklabel() a new parameter supplying the dev_t of the
Kenneth R Westerback
2022-09-23
Don't hardcode disk major device types inside DEBUG block. Use
Kenneth R Westerback
2022-09-15
Remove unneeded interim DPRINTF() verbiage. Make DEBUG compile
Kenneth R Westerback
2022-09-11
Remove the DKF_LABELVALID flag from struct disk. Instead, trust disk drivers
Miod Vallat
2022-09-11
Add #define's for GPT partition attribute bits REQUIRED, IGNORE
Kenneth R Westerback
2022-09-03
Allow suspend with root on sdmmc(4).
Mark Kettenis
2022-09-02
Constify nam2blk[], chrtoblktbl[] and octeon devmap[].
Miod Vallat
2022-09-02
Don't ignore an OpenBSD GPT partition just because the GPT says
Kenneth R Westerback
2022-09-02
Nuke variable partlba that is set but not used.
Kenneth R Westerback
2022-09-02
Relax GTP header validity check by allowing 1 sector size usable
Kenneth R Westerback
2022-09-01
Stop setting d_bbsize and d_sbsize. Nobody has paid
Kenneth R Westerback
2022-08-20
Restore the exemption from start/size checks that OpenBSD (A6)
Kenneth R Westerback
2022-08-14
remove unneeded includes in sys/kern
Jonathan Gray
2022-08-12
Revert to pre-r1.249 more laissez-faire checks for valid MBR
Kenneth R Westerback
2022-08-12
Coverity says multiplying two uint32_t's and assigning them to
Kenneth R Westerback
2022-08-11
Don't trust gpt header data read from disk until after its
Kenneth R Westerback
2022-08-06
Refactor readdoslabel() into a more readable form using various
Kenneth R Westerback
2022-01-02
Stop writing big-endian checksums into the little-endian GPT
Kenneth R Westerback
2021-12-22
While malloc sleeps, the disk list could change during sysctl. Then
Alexander Bluhm
2021-10-24
use NULL not 0 for pointer values in kern
Jonathan Gray
2021-06-13
Back off a couple of the more paranoid checks while spoofing GPT
Kenneth R Westerback
2021-06-02
Use the same logic in all copies of gpt_chk_mbr(), relaxing the
Kenneth R Westerback
2021-06-01
Make spoofed disklabel boundstart and boundend default to the bounds
Kenneth R Westerback
2021-05-27
Relax criteria for recognizing GPT formatted media by allowing the
Kenneth R Westerback
2021-05-14
Whitespace tweaks and a couple of stray u_int* in gpt_chk_mbr().
Kenneth R Westerback
2021-05-14
Tweak the two copies of gpt_chk_mbr() to return the index of the MBR
Kenneth R Westerback
2021-05-08
Spoof GPT partitions of type 21686148-6449-6e6f-744e-656564454649 (a.k.a.
Kenneth R Westerback
2021-01-19
kern/subr_disk.c: convert ifunit() to if_unit(9)
mvs
2020-05-29
dev/rndvar.h no longer has statistical interfaces (removed during various
Theo de Raadt
2020-03-13
Simplify logic, the "netboot" interface is always related to `bootdv'.
Martin Pieuchot
2019-12-26
tsleep -> tsleep_nsec(9) in setroot()
kn
2018-04-28
replace add_*_randomness with enqueue_randomness()
Jasper Lievisse Adriaanse
2018-03-05
fix a memory leak in readdoslabel()
Jonathan Gray
2017-08-07
Turns out gcc complains about %02hhx. So simply use %02x instead. This is
Mark Kettenis
2017-08-06
Use %hhx instead of %hx to print u_char. Silences clang warning.
Mark Kettenis
2017-05-04
Also pass the blk offset to disk_unbusy(), so that it can pass it to
Theo de Raadt
2017-04-20
Tweak lock inits to make the system runnable with witness(4)
Visa Hankala
2016-09-02
Don't bother with 'ghpartnum' in gpt_chk_hdr(); it's not used
Tom Cosgrove
2016-05-21
Fix logic bug in DUID generation - we want to generate DUIDs until we have
Joel Sing
2016-05-21
Cleanup some of the DUID code and refactor for readability.
Joel Sing
2016-05-20
Remove dead assignment/unused variable.
Joel Sing
2016-05-19
Let setroot() pick the boot disk based on the DUID provided in bootduid if
Mark Kettenis
2016-02-08
"exceeds past the end" -> "extends past the end" in comment.
Kenneth R Westerback
[next]