svn commit: r325860 - head/sbin/newfs

Ed Maste emaste at freebsd.org
Thu Nov 16 00:05:33 UTC 2017


On 15 November 2017 at 13:47, Rodney W. Grimes
<freebsd at pdx.rh.cn85.dnsmgr.net> wrote:
>> Author: emaste
>> Date: Wed Nov 15 18:40:40 2017
>> New Revision: 325860
>> URL: https://svnweb.freebsd.org/changeset/base/325860
>>
>> Log:
>>   newfs: warn if newer than kernel
>>
>>   Creating a UFS filesystem with a newfs newer than the running kernel,
>>   and then mounting that filesystem, can lead to interesting failures.
>>
>>   Add a safety belt to explicitly warn when newfs is newer than the
>>   running kernel.
>
> You should probably make the warning if (newer || older) as
> either is likely to have interesting side effects, as are
> mounting ufs file systems on different versions.

Why would an older newfs cause trouble? Forward compatibility should be fine.


More information about the svn-src-all mailing list