docs/125921: lpd (8) talks about blocks in minfree while it is KB in reality
Andre Albsmeier
Andre.Albsmeier at siemens.com
Thu Jul 24 06:30:02 UTC 2008
>Number: 125921
>Category: docs
>Synopsis: lpd (8) talks about blocks in minfree while it is KB in reality
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 24 06:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Andre Albsmeier
>Release: FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD FreeBSD 6.3-STABLE #0: Mon Jul 21 15:38:40 CEST 2008
>Description:
man 8 lpd says:
The file minfree in each spool directory contains the number of disk
blocks to leave free so that the line printer queue will not completely
fill the disk. The minfree file can be edited with your favorite text
but usr.sbin/lpr/lpd/recvjob.c doubles the value read from minfree
to convert kBytes into 512 byte blocks.
>How-To-Repeat:
1. man 8 lpd
2. grep minfree /usr/src/usr.sbin/lpr/lpd/recvjob.c
>Fix:
Replace blocks by kBytes in man page for lpd.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list