diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-03-18 05:11:58 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-03-18 05:11:58 +0000 |
commit | 5247d0c8d38aab5edc52a76b8e83a20c766c8e51 (patch) | |
tree | 585c5a5a6528631babb2154ec0b12542c05ac763 /usr.bin | |
parent | 98cb293b5738ecfcfce070677c554c5cd6ee984b (diff) |
Restore bootable tape functionality. Previous loadfile() would never use
lseek(), which is not available on tapes when using the prom device routines;
instead, remember our file position, seek forward by reading and discarding data,
and only use lseek() in last resort for backwards seek.
ok deraadt@
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions