]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Set size field correctly, it is number of sectors on the device, not
authorPoul-Henning Kamp <phk@FreeBSD.org>
Wed, 25 Feb 2004 13:43:17 +0000 (13:43 +0000)
committerPoul-Henning Kamp <phk@FreeBSD.org>
Wed, 25 Feb 2004 13:43:17 +0000 (13:43 +0000)
commit9cee00cf1074bff0d8fb250637e02caed9addc85
tree2ed5cebf2a0f5bdcfb20d2133c04a7a91f68c944
parent7501cdc8e58a19911dcb30a91da91f7324cd68da
Set size field correctly, it is number of sectors on the device, not
number of 512 bytes sectors.

Recognize size == -1 as meaning "auto".
usr.sbin/fdread/fdutil.c