Charles.Forsyth20090219-13303ae06d317 years agoHistory
44 lines · 833 B · Text
RawDownload
.TH ZEROS 1.SH NAMEzeros \- write sequence of bytes.SH SYNOPSIS.B zeros[.IR -r][.IR -v value][ [.IR blocksize ...[.IR numblocks] ].SH DESCRIPTION.B Zeroswrites a sequence of bytes to standard output. The argumentsspecify the nature of the bytes,block size in bytes, and the number of blocks to output.The.I -roption requests that each block be the same, but randomlygenerated. The.IR -v valueoption sets the value of each byte (default 0).Typically.IR zeroshas a specialised use:ensuring a file has the desired number of blocks in it to hold a file system image,before reaming it..SH EXAMPLETo create and initialize a file system containing 2048 1024 byteblocks .IP.EXzeros 1024 2048 >kfs.filemount -c {disk/kfs -r kfs.file} /n/local.EE.SH SOURCE.B /appl/cmd/zeros.b.SH SEE ALSO.IR kfs (4)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t