The kernel enforces a max of XLOG_MAX_RECORD_BSIZE, and it should match the limits in L_SUNIT after all ... Eric Sandeen <sandeen@xxxxxxxxxx>: fix min/max for "-l su" --- su and sunit are ultimately setting the same parameter; their limits should be the same. diff --git a/mkfs/xfs_mkfs.c b/mkfs/xfs_mkfs.c index 0d28a84..3ffae42 100644 --- a/mkfs/xfs_mkfs.c +++ b/mkfs/xfs_mkfs.c @@ -395,8 +395,8 @@ struct opt_params lopts = { }, { .index = L_SU, .convert = true, - .minval = 0, - .maxval = UINT_MAX, + .minval = XLOG_MIN_RECORD_BSIZE, + .maxval = XLOG_MAX_RECORD_BSIZE, .defaultval = SUBOPT_NEEDS_VAL, }, { .index = L_DEV, _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs