diff options
author | 2006-05-28 07:07:09 +0000 | |
---|---|---|
committer | 2006-05-28 07:07:09 +0000 | |
commit | dedd37cff69a7bf2f9c19026d75a62229f5293e0 (patch) | |
tree | 830ba2dd5f977fea99572f49faf0b0c397e12ead /usr.bin/cvs/commit.c | |
parent | don't hardcode the iova... it uses the same scheme as the sbus machines (diff) | |
download | wireguard-openbsd-dedd37cff69a7bf2f9c19026d75a62229f5293e0.tar.xz wireguard-openbsd-dedd37cff69a7bf2f9c19026d75a62229f5293e0.zip |
Use bit 23 of the device minor to indicate a control mode device. A
control mode device can be opened but does not permit any i/o.
Currently no such devices are created by MAKEDEV. However the previous
code used bits 0 and 1 of the minor being set to indicate a control
device. This conflicted with other uses of device minors to indicate
things like rewind and eject. This behaviour would result in an open
of a newly loaded tape drive failing until the tape was successfully
mounted as a side effect of another command like 'mt status'.
ok beck@
Diffstat (limited to 'usr.bin/cvs/commit.c')
0 files changed, 0 insertions, 0 deletions