xfs
[Top] [All Lists]

Re: [PATCH] mkfs: Refuse to initialize a misaligned device if not forced

To: Carlos Maiolino <cmaiolino@xxxxxxxxxx>
Subject: Re: [PATCH] mkfs: Refuse to initialize a misaligned device if not forced using libblkid [v3]
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Mon, 16 Jan 2012 09:16:39 -0600
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1323189918-15834-1-git-send-email-cmaiolino@xxxxxxxxxx>
References: <1323189918-15834-1-git-send-email-cmaiolino@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.24) Gecko/20111206 Thunderbird/3.1.16
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@xxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH] mkfs: Refuse to initialize a misaligned device if not forced using libblkid [v3], Mark Tinguely <=