NetBSD Problem Report #46717

From martin@duskware.de  Tue Jul 17 21:04:06 2012
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id DF92563B85F
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 17 Jul 2012 21:04:05 +0000 (UTC)
Message-Id: <20120717210405.DF92563B85F@www.NetBSD.org>
Date: Tue, 17 Jul 2012 21:04:05 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: libquota(3) enhancements
X-Send-Pr-Version: 3.95

>Number:         46717
>Category:       lib
>Synopsis:       libquota(3) enhancements
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    dholland
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 17 21:05:04 +0000 2012
>Last-Modified:  Mon Jul 23 06:01:25 +0000 2012
>Originator:     Martin Husemann
>Release:        NetBSD 6.99.9
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 6.99.9 NetBSD 6.99.9 (NIGHT-OWL) #103: Sun Jul 15 13:43:35 CEST 2012 martin@night-owl.duskware.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:

libquota(3) does not make it clear what units the predefined object types
use. For QUOTA_OBJTYPE_FILES it is pretty much clear that a count (number
of inodes) is used as the value for qv_softlimit/qv_hardlimit. For
QUOTA_OBJTYPE_BLOCKS the existence of quota_objtype_isbytes() hints at
"number of bytes" as the values, but the name more suggests "number of blocks"
(which probably means you need to multiply the value by 512 to get bytes,
independend of physical medium block size). This should be spelled out
explicitly.

>How-To-Repeat:
man libquota

>Fix:
n/a

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: lib-bug-people->dholland
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Mon, 23 Jul 2012 06:01:25 +0000
Responsible-Changed-Why:
mine


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.