From owner-freebsd-fs@FreeBSD.ORG Wed Apr 22 13:37:24 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A36E2106566B for ; Wed, 22 Apr 2009 13:37:24 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id 31BCA8FC1B for ; Wed, 22 Apr 2009 13:37:23 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by ewy19 with SMTP id 19so2658008ewy.43 for ; Wed, 22 Apr 2009 06:37:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=N8YqfnNXQ97DJ/eZqjuYnqYae7zadwZMBZBaIJVgDzU=; b=AgyU8CCrw09IveH9A2n+fFS971L8IhigCzc7airWFn3yI045Qa8qXGJfOR9Jc/Wk16 54VepV+gk4kz+FSu76V79XNE82D6ajqvNkG/IsW10moNmBRRU4IbfnrOUvNBQu1L+jTX r0DIMBXo56aai+g7UkfOWgr4nKCs89PfYSwfA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=LU/vaE+QbhHv7LYq+MxgGWbRB6womKtqLxX8jj9LTaIAOQXbA0AnyG+QRo+vSTLu7y 9Jw50lupF7+kfTDfn2rOi1ZESRQCfQX+XOdT8rQaNTqZK71OoximEGcXxPzH9NZiDj5O Decc70Tq4Z870JClo/yKCva/OQiGhWDO8dcwU= MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.210.13.9 with SMTP id 9mr7360995ebm.88.1240405728103; Wed, 22 Apr 2009 06:08:48 -0700 (PDT) In-Reply-To: <49EF1645.70704@icyb.net.ua> References: <49EDCA21.70908@icyb.net.ua> <49EDF80F.3070105@icyb.net.ua> <49EF1645.70704@icyb.net.ua> From: Ivan Voras Date: Wed, 22 Apr 2009 15:08:33 +0200 X-Google-Sender-Auth: 514ee885efb0dc06 Message-ID: <9bbcef730904220608y73cbf2d2s6921b05c1978a121@mail.gmail.com> To: Andriy Gapon Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, freebsd-geom@freebsd.org Subject: Re: glabel for ufs: size check is overzealous? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2009 13:37:24 -0000 2009/4/22 Andriy Gapon : > 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...