linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mke2fs: skip alignment questioning if -F specified
@ 2010-03-01 19:53 Eric Sandeen
  2010-03-12  2:48 ` tytso
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Sandeen @ 2010-03-01 19:53 UTC (permalink / raw)
  To: ext4 development

RH bug 569021 - mke2fs insists on user interaction even if stdin is not a tty and -F is passed

This is just a warning, -F should easily override it.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---

diff --git a/misc/mke2fs.c b/misc/mke2fs.c
index 4b13367..2a23bf7 100644
--- a/misc/mke2fs.c
+++ b/misc/mke2fs.c
@@ -1643,7 +1643,8 @@ got_size:
 		       device_name, retval);
 		printf(_("This may result in very poor performance, "
 			  "(re)-partitioning suggested.\n"));
-		proceed_question();
+		if (!force)
+			proceed_question();
 	}
 #endif
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-03-12 15:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-01 19:53 [PATCH] mke2fs: skip alignment questioning if -F specified Eric Sandeen
2010-03-12  2:48 ` tytso
2010-03-12  7:54   ` Andreas Dilger
2010-03-12 15:17     ` Eric Sandeen
2010-03-12 15:40       ` Theodore Tso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).