diff options
author | 2007-01-20 18:21:51 +0000 | |
---|---|---|
committer | 2007-01-20 18:21:51 +0000 | |
commit | 32b9121c9cf995b8d6ef7f7fb144572ce6c01b73 (patch) | |
tree | 2beaa83fa03b5bfba3ae0cb804091c9e82f2569d /usr.bin/ssh/clientloop.c | |
parent | Ignore SIGPIPE in the parent and RDE as well. (diff) | |
download | wireguard-openbsd-32b9121c9cf995b8d6ef7f7fb144572ce6c01b73.tar.xz wireguard-openbsd-32b9121c9cf995b8d6ef7f7fb144572ce6c01b73.zip |
Add media_fileno, media_blkno into st_softc and report their values
back via MTIOCGET ioctl, rather than always reporting -1 (unknown).
Simple 'Set to 0 on rewind, increment on file marks and positioning,
and set back to -1 on any ambiguity' logic. No functional impact on
current operation.
Should allow things like Bacula to work much faster by keeping track
of the current media position.
Adapted from FreeBSD code.
ok beck@
Diffstat (limited to 'usr.bin/ssh/clientloop.c')
0 files changed, 0 insertions, 0 deletions