Page 1263 SEE ALSO newsfeeds(5) arparpManipulate the system ARP cache. SYNOPSIS arp [-v] [-t type] -a [hostname] arp [-v] -d hostname ... arp [-v] [-t type] -s hostname hw_addr arp [-v] -f filename DESCRIPTION arp manipulates the kernel's ARP cache in various ways. The primary options are clearing an address mapping entry and manually setting up one. For debugging purposes, the arp program also allows a complete dump of the ARP cache. OPTIONS
In all places where a hostname is expected, you can also enter an IP address in dotted-decimal notation. FILES /proc/net/arp /etc/ethers AUTHOR Fred N. van Kempen (waltje@uwalt.nl.mugnet.org) 09 June 1994 Page 1264 badblocksbadblocksSearch a device for bad blocks. SYNOPSIS badblocks [ -b block-size ] [ -o output_file ] [ -v ][-w ] device blocks-count DESCRIPTION badblocks is used to search for bad blocks on a device (usually a disk partition). device is the special file corresponding to the device (such as /dev/hdXX). blocks-count is the number of blocks on the device. OPTIONS
WARNING Never use the -w option on a device containing an existing filesystem. This option erases data! AUTHOR badblocks was written by Remy Card (card@masi.ibp.fr), the developer and maintainer of the ext2 fs. BUGS I had no chance to make real tests of this program because I use IDE drives, which remap bad blocks. I only made some tests on floppies. AVAILABILITY badblocks is available for anonymous FTP from ftp.ibp.fr and tsx-11.mit.edu in /pub/linux/packages/ext2fs. SEE ALSO e2fsck(8), mke2fs(8) Version 0.5b, November 1994 buffchanbuffchanBuffered file-writing back end for InterNetNews. SYNOPSIS buffchan [ -b ][-c lines ][-C seconds ][-d directory ] [-f fields ][-m map ][-p pidfile ][-l lines ][-L seconds ] [-r ][-s file_format ][-u ] DESCRIPTION buffchan reads lines from standard input and copies certain fields in each line into files named by other fields within the line. buffchan is intended to be called by innd(8) as an exploder feed. Page 1265 buffchan input is interpreted as a set of lines. Each line contains a fixed number of initial fields, followed by a variable number of filename fields. All fields in a line are separated by whitespace. The default number of initial fields is one; the _f flag may be used to specify a different number of fields. See filechan(8) for an example. After the initial fields, each remaining field names a file to write. The -s flag may be used to specify a format string that maps the field to a filename. This is a sprintf(3) format string, which should have a single %s parameter that is given the field. The default value is /news/spool/out.going/%s. See the description of this flag in filechan(8). The _d flag may be used to specify a directory the program should change to before starting. If this flag is used, then the default for the _s flag is changed to be a simple %s. Once buffchan opens a file, it keeps it open. The input must therefore never specify more files than the number of available descriptors can keep open. If the _b flag is used, the program will allocate a buffer and attach it to the file using setbuf(3). If the _u flag is used, the program will request unbuffered output. If the _l flag is used with a number n, then buffchan will call fflush(3) after every n lines are written to a file. If the _c flag is used with a number n, then buffchan will close, and reopen, a file after every n lines are written to a file. If the _L flag is used with a number n, then all files will be flushed every n seconds. Similarly, the _C flag may be used to specify that all files should be closed and reopened every n seconds. By default, the program sets its standard error to /var/log/news/errlog. To suppress this redirection, use the _r flag. If the _p flag is used, the program will write a line containing its process ID (in text) to the specified file. buffchan can be invoked as an exploder feed (see newsfeeds(5)). As such, if a line starts with an exclamation point, it is treated as a command. There are three commands:
HISTORY Written by Rich $alz (rsalz@uunet.uu.net) for InterNetNews. SEE ALSO ctlinnd(8), filechan(8), innd(8), newsfeeds(5). cfdiskcfdiskCurses-based disk partition table manipulator for Linux. SYNOPSIS cfdisk [ -avz ] [ -c cylinders ][-h heads ][-s sectors-per-track ][-P opt ] [device ] |