Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/sdatalba48/readme

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


fix a fencepost error in the transition from lba28 to lba48
commands.  since drive idents return max lba + 1 and since
0 sectors is valid for removable media, the all ones lba is
not addressable.  therefore the maximum lba28 address
is (1<<28) - 2, not (1<<28) - 1.  many thanks to
squeek@gmail.com for reporting a problem and verifying
the fix.

cosmetically, the useless masks were removed from the
outbs.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.