docs/61716: newfs(8) code and manpage are out of sync
arundel at FreeBSD.org
arundel at FreeBSD.org
Fri Aug 20 23:27:21 UTC 2010
Synopsis: newfs(8) code and manpage are out of sync
State-Changed-From-To: open->analyzed
State-Changed-By: arundel
State-Changed-When: Fri Aug 20 23:13:12 UTC 2010
State-Changed-Why:
The originator of the PR described the problem very accurately.
However the location where the default max-extent-size gets set has moved from
/usr/src/sbin/newfs/newfs.c to usr.sbin/newfs/mkfs.c:
224 if (maxbsize == 0)
225 maxbsize = bsize;
226 if (maxbsize < bsize || !POWEROF2(maxbsize)) {
227 sblock.fs_maxbsize = sblock.fs_bsize;
228 printf("Extent size set to %d\n", sblock.fs_maxbsize);
229 } else if (sblock.fs_maxbsize > FS_MAXCONTIG * sblock.fs_bsize) {
230 sblock.fs_maxbsize = FS_MAXCONTIG * sblock.fs_bsize;
231 printf("Extent size reduced to %d\n", sblock.fs_maxbsize);
232 } else {
233 sblock.fs_maxbsize = maxbsize;
234 }
I'll submit a patch for newfs(8) right away.
Responsible-Changed-From-To: mckusick->freebsd-fs
Responsible-Changed-By: arundel
Responsible-Changed-When: Fri Aug 20 23:13:12 UTC 2010
Responsible-Changed-Why:
Over to maintainer(s).
http://www.freebsd.org/cgi/query-pr.cgi?pr=61716
More information about the freebsd-fs
mailing list