HomeFreeBSD

lseek() allows an offset to be set beyond the end of file. Using

Description

lseek() allows an offset to be set beyond the end of file. Using
it to check that partition has enough space to write bootcode doesn't
work. Use the known size of provider instead.

PR: 201504
MFC after: 1 week

Details

Provenance
aeAuthored on
Parents
rS285734: Fix some issues with the application of libxo to ls(1)
Branches
Unknown
Tags
Unknown