Bug 24222

Summary: sa tape driver loses current blockno on bsr with residual
Product: Base System Reporter: Jean-Francois Dockes <jean-francois.dockes>
Component: kernAssignee: Matt Jacob <mjacob>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-STABLE   
Hardware: Any   
OS: Any   

Description Jean-Francois Dockes 2001-01-10 14:00:00 UTC
If a bsr operations hits BOT or BOF, the resulting blkno is negative.

How-To-Repeat: mouton$ echo $TAPE
/dev/nrsa0
mouton$ mt rew
mouton$ mt fsr 3 
mouton$ mt status
Mode      Density              Blocksize      bpi      Compression
Current:  0x25:DDS-3           variable       97000    DCLZ
File Number: 0  Record Number: 3

mouton$ mt bsr 10000
mouton$ mt status
Mode      Density              Blocksize      bpi      Compression
Current:  0x25:DDS-3           variable       97000    DCLZ
File Number: 0  Record Number: -9997
Comment 1 Matt Jacob freebsd_committer freebsd_triage 2001-01-10 19:28:03 UTC
Responsible Changed
From-To: freebsd-bugs->mjacob
Comment 2 Matt Jacob freebsd_committer freebsd_triage 2001-01-16 07:25:44 UTC
State Changed
From-To: open->closed

Problem fixed.