[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
glabel for ufs: size check is overzealous?
- To: freebsd-geom_(_at_)_freebsd_(_dot_)_org
- Subject: glabel for ufs: size check is overzealous?
- From: Andriy Gapon <avg_(_at_)_icyb_(_dot_)_net_(_dot_)_ua>
- Date: Tue, 21 Apr 2009 16:29:05 +0300
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
_______________________________________________
freebsd-geom_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-geom
To unsubscribe, send any mail to "freebsd-geom-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org