[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

glabel for ufs: size check is overzealous?



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