Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 2004 12:02:02 +0100
From:      Radim Kolar <hsn@netmag.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/61716: newfs: code and manpage are out of sync
Message-ID:  <E1Ajcb4-0000Uh-Ep@asura.bsd>
Resent-Message-ID: <200401221150.i0MBoEEK072257@freefall.freebsd.org>

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

>Number:         61716
>Category:       bin
>Synopsis:       newfs: code and manpage are out of sync
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 22 03:50:11 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
Sanatana Dharma
>Environment:
System: FreeBSD asura.bsd 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Thu Jan 15 18:35:03 CET 2004 root@asura.bsd:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Manual page newfs(8) says that default size of max-entent-size (option -d)
is 16*blocksize. 
/usr/src/sbin/newfs/newfs.c line 338-339 sets default 
max-entent-size to blocksize. This leads to poor admin confusion.

>How-To-Repeat:
>Fix:
I do not know what extent size is better for performance.
Newfs should create filesystems with best performance options set as default,
since very few people are playing with various newfs flags.
Please update code or manpage.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Ajcb4-0000Uh-Ep>