bin/61716: newfs: code and manpage are out of sync

Radim Kolar hsn at netmag.cz
Thu Jan 22 03:50:21 PST 2004


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


More information about the freebsd-bugs mailing list