Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2008 08:07:55 +0200 (CEST)
From:      Andre Albsmeier <Andre.Albsmeier@siemens.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/125921: lpd (8) talks about blocks in minfree while it is KB in reality
Message-ID:  <200807240607.m6O67tUF027120@curry.mchp.siemens.de>
Resent-Message-ID: <200807240630.m6O6U2td075601@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807240607.m6O67tUF027120>