diff options
author | 1997-02-06 04:30:35 +0000 | |
---|---|---|
committer | 1997-02-06 04:30:35 +0000 | |
commit | 42b5323a96f9c20da389210de141c27acb3675f2 (patch) | |
tree | 5721862791797c4065ee4ff67d243f92c2ef11a1 /sys/lib/libsa | |
parent | Add libz and make libsa aware of it. From NetBSD. (diff) | |
download | wireguard-openbsd-42b5323a96f9c20da389210de141c27acb3675f2.tar.xz wireguard-openbsd-42b5323a96f9c20da389210de141c27acb3675f2.zip |
Changes to ramdisk driver to support disklabels. Work done by Theo.
This will require changes for each machine type.
changes to MAKEDEV, suggest treating rd like sd
---
sd*|vnd*|ccd*|rd*)
...
rd*) name=rd; blk=17; chr=17;;
---
Make certain that majors and minors are correct
conf.c
add a entry in cdevsw for rd (previously was only in bdev)
---
cdev_decl(rd);
...
struct cdevsw cdevsw[] = {
...
cdev_disk_init(NRD,rd), /* 17 ram disk driver*/
---
other changes to how rdconfig is called may be appropriate,
it must now be configured using the "raw" parition typically 'c'.
Diffstat (limited to 'sys/lib/libsa')
0 files changed, 0 insertions, 0 deletions