From patchwork Thu Mar 7 22:04:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 225983 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 37F502C037D for ; Fri, 8 Mar 2013 09:07:04 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 088888CDB5; Thu, 7 Mar 2013 22:07:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sNsGBmdhO4BG; Thu, 7 Mar 2013 22:06:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 160CE8CBCA; Thu, 7 Mar 2013 22:06:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id DF56B8F753 for ; Thu, 7 Mar 2013 22:05:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 414A58C949 for ; Thu, 7 Mar 2013 22:05:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id of0Y1I6m8fVK for ; Thu, 7 Mar 2013 22:05:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4C95E8C9BC for ; Thu, 7 Mar 2013 22:05:02 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id dr12so1731827wgb.11 for ; Thu, 07 Mar 2013 14:05:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references; bh=37FQ3d4i2bC8HyobjQKnhQSJzQoHIAZbKIYPOhY3q5Y=; b=rBMtoibhmda8yA3ZE2HOVElTDWhKUCyngsJpeu3NSTPsAAUF0TSLBXlxAPogAboKzZ HuqmU8bh72gf8qQ7uCWsZ6fxcKHBIx6i2kDSas1sXTuG0ZKQJa8nTDHckp/EPCkFOVZX gVg3MyWEyrgcqDBHP3cPMm7Nd/uykejOrhOCMfEIMEPo1C38syxbKJKZGOPOsWtUR22v 6u7S95q1pB7mm6ysFspJ9KSFZSh/nDGq0fa8PemXqrBsW8I7oXNTR6X6gGOFC24iwV/x NGXobN2jzqsgUOfMfQ2dYhMkDfCBsy85g5pBw0R2aEAWJr1GjvAw0rrjNxBgW6iDTcMv j2YA== X-Received: by 10.180.83.39 with SMTP id n7mr27340313wiy.8.1362693900888; Thu, 07 Mar 2013 14:05:00 -0800 (PST) Received: from localhost.localdomain (ARennes-555-1-167-217.w2-2.abo.wanadoo.fr. [2.2.22.217]) by mx.google.com with ESMTPS id bj9sm35969125wib.4.2013.03.07.14.04.58 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 07 Mar 2013 14:05:00 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Thu, 7 Mar 2013 23:04:43 +0100 Message-Id: <20da59bb44bf9f9331f343a2c7308b7aaa5cb834.1362693453.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 6/6] fs/ext2: remove count- and time-based fsck X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Set the count- and time-based checks intervals to 0, thus effectively disabling automatic checks at boot. (After a suggestion by Arnout.) Signed-off-by: "Yann E. MORIN" Cc: Arnout Vandecappelle Acked-by: Arnout Vandecappelle (Essensium/Mind) --- fs/ext2/genext2fs.sh | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/ext2/genext2fs.sh b/fs/ext2/genext2fs.sh index c466bc2..e4177ae 100755 --- a/fs/ext2/genext2fs.sh +++ b/fs/ext2/genext2fs.sh @@ -70,8 +70,9 @@ e2tunefsck() { esac printf "e2fsck was successfully run on rootfs.ext${GEN}\n" - # e2fsck will force a UUID, which we do not want - tune2fs -U clear "${IMG}" + # e2fsck will force a UUID, which we do not want; + # remove count- and time-based checks + tune2fs -U clear -c 0 -i 0 "${IMG}" } # Check we know what generation to generate