[PATCH] mkfs: Refuse to initialize a misaligned device if not forced using libblkid [v3]
Mark Tinguely
tinguely at sgi.com
Fri Oct 7 22:01:13 CDT 2011
On 01/-10/63 13:59, Carlos Maiolino wrote:
> This is a new version of a patch to fix the problem about the usage of 4k
> sector devices when the device is not properly aligned. It makes mkfs to
> refuse to initialize a xfs filesystem if the -f option is not passed at the
> command line, and forces a 512b sector size if the user chooses to force
> the device initialization.
>
...
> +
> + if (!force_overwrite) {
> + fprintf(stderr,
> + _("Use -f to force usage of a misaligned device\n"));
This line wraps.
Reviewed-by: Mark Tinguely <tinguely at sgi.com>
More information about the xfs
mailing list