glabel for ufs: size check is overzealous?
Ivan Voras
ivoras at freebsd.org
Wed Apr 22 13:12:40 UTC 2009
2009/4/22 Andriy Gapon <avg at icyb.net.ua>:
> on 22/04/2009 16:08 Ivan Voras said the following:
>> 2009/4/22 Andriy Gapon <avg at icyb.net.ua>:
>>> on 21/04/2009 21:43 Ivan Voras said the following:
>>>> Andriy Gapon wrote:
>>>>> I don't see why it should and - no, it actually does not.
>>>>> fsck checks only filesystem's internal consistency, it doesn't check media size, etc.
>>>> Well yes, if the number of blocks is really incorrect it should be
>>>> visible from the arrangement of the metadata but still - that makes the
>>>> field almost useless doesn't it?
>>> How do you mean?
>>> The field tells the filesystem size, how it can be useless?
>>
>> If nothing checks it and everything works, I'd say it's usefulness is
>> a bit limited...
>
> ufs driver doesn't check it, the driver *uses* it, so... :-)
But as you said, fsck will not fix an invalid value?
More information about the freebsd-geom
mailing list