Date: Fri, 20 Aug 2010 23:27:20 GMT From: arundel@FreeBSD.org To: hsn@netmag.cz, arundel@FreeBSD.org, mckusick@FreeBSD.org, freebsd-fs@FreeBSD.org Subject: Re: docs/61716: newfs(8) code and manpage are out of sync Message-ID: <201008202327.o7KNRK2s070234@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008202327.o7KNRK2s070234>