Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 2009 16:29:05 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        freebsd-geom@freebsd.org
Subject:   glabel for ufs: size check is overzealous?
Message-ID:  <49EDCA21.70908@icyb.net.ua>

next in thread | raw e-mail | index | archive | help

glabel insists that for UFS2 the following must hold true:
pp->mediasize / fs->fs_fsize == fs->fs_size

But in reality it doesn't have to be this way, there can be valid reasons to make
filesystem smaller than available raw media size.

I understand that this is a good sanity check, but maybe there are other ways to
extra-check that we see a proper superblock, without imposing the limitation in
question.

-- 
Andriy Gapon



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