Date: Sat, 22 Jan 2011 05:21:20 +0000 (UTC) From: Maxim Sobolev <sobomax@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/fdisk fdisk.c Message-ID: <201101220521.p0M5LZjh099121@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sobomax 2011-01-22 05:21:20 UTC
FreeBSD src repository
Modified files:
sbin/fdisk fdisk.c
Log:
SVN rev 217714 on 2011-01-22 05:21:20Z by sobomax
Warn user when value entered is greated than the amount supported
by the MBR for the given parameter and set that parameter to the
maximum value instead of just truncating the most significant part
silently.
Could happen for example if the capacity of the device is more
than 2TB, so that the number of sectors is greater than 2Mib.
MFC after: 1 month
Revision Changes Path
1.98 +31 -20 src/sbin/fdisk/fdisk.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101220521.p0M5LZjh099121>
