--- - branch: MAIN date: Mon Mar 28 12:33:59 UTC 2022 files: - new: '1.134' old: '1.133' path: src/sys/kern/subr_disk.c pathrev: src/sys/kern/subr_disk.c@1.134 type: modified - new: '1.126' old: '1.125' path: src/sys/sys/disklabel.h pathrev: src/sys/sys/disklabel.h@1.126 type: modified id: 20220328T123359Z.320444d3cd32478678090c3869325b4aed27c245 log: | disk(9): New function disklabel_dev_unit. Maps a dev_t like wd3e to an autoconf instance number like 3, with no partition. Same as DISKUNIT macro, but is a symbol whose pointer can be taken. Meant for use with struct bdevsw, cdevsw::d_devtounit. module: src subject: 'CVS commit: src/sys' unixtime: '1648470839' user: riastradh