diff options
| author | Mike Barcroft <mike@FreeBSD.org> | 2002-03-21 07:46:09 +0000 |
|---|---|---|
| committer | Mike Barcroft <mike@FreeBSD.org> | 2002-03-21 07:46:09 +0000 |
| commit | 6a1bd01754a8b0836ba4aaa0c246ec1fa8bee31f (patch) | |
| tree | 18c6d43acac70006d03656b292ae11713f03b4c7 | |
| parent | c302e53c27e86513ac0bb0fb95fd75082d7f933e (diff) | |
Notes
| -rw-r--r-- | sbin/mdconfig/mdconfig.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/mdconfig/mdconfig.c b/sbin/mdconfig/mdconfig.c index 8a6019f008ce..840742393091 100644 --- a/sbin/mdconfig/mdconfig.c +++ b/sbin/mdconfig/mdconfig.c @@ -144,6 +144,8 @@ main(int argc, char **argv) mdio.md_size *= (1024 * 1024 * 1024 / DEV_BSIZE); else errx(1, "Unknown suffix on -s argument"); + if (mdio.md_size < 192) + errx(1, "Filesystem too small"); break; case 'u': if (cmdline != 2 && cmdline != 3) |
