Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 May 2003 00:17:59 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Lukas Ertl <l.ertl@univie.ac.at>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: newfs: useless/bogus check if new last block can be accessed? 
Message-ID:  <15149.1052518679@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 10 May 2003 00:07:26 %2B0200." <20030510000438.Y638@korben.in.tern> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20030510000438.Y638@korben.in.tern>, Lukas Ertl writes:

>> syv# newfs -s 2049 md5
>> newfs: /dev/md5: maximum file system size is 2048
>> syv#
>
>But since this size check comes much earlier in the code, I guess the
>wtfs() call is useless and should be removed, shouldn't it?

If the check still works, I'd tend to keep it on the basis that it
does no harm, but if you tell me that it would never result in an
error, then we might as well remove it.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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