Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.Prune svn:mergeinfo from the new branch, as nothing has been mergedhere.Additional commits post-branch will follow.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
use .Mt to mark up email addresses consistently (part3)PR: 191174Submitted by: Franco Fichtner <franco at lastsummer.de>
The -r option can also cause the files to be extended (notnecessarily truncated).
Markup fixes.
Allow to specify size in terabytes by using T or t suffix.This speeds up my testing a bit. Because truncate(1) doesn't allocateblocks on file system before they are used, it is very useful toemulate huge file systems: # truncate -s 16T fs.img # mdconfig -a -f fs.img # newfs /dev/mdX(-t swap can be used as well)
Added the EXIT STATUS section where appropriate.
Make size suffix case insensitive.PR: bin/27604Submitted by: David Xu <davidx@viasoft.com.cn>
* Update author's e-mail address.* When the author of an utility also wrote its manual page (a rarety, I know), it is not necessary to say that the utility "and this manual page" were written by the author.
Use the .Cm macro to mark up the modifiers of the -s flag's size argument.
mdoc(7) police: utilize the new .Ex macro.
Remove whitespace at EOL.
mdoc(7) police: use canonical form of .Dd macro.
mdoc(7) police: use the new features of the Nm macro.
Merge the truncate(1) utility onto the RELENG_4 branch and adjustthe HISTORY section to reflect the first release of FreeBSD inwhich this utility will appear.
truncate.c: Do not include unused header files. Add rcsid. Change copyright.truncate.1: Add AUTHORS section.Submitted by: charnier
Add a STANDARDS section to discourage the use of this utilityin environments where portability is a concern.
Import the new truncate(1) utility.Approved by: jdp