From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D2A01138330 for ; Sun, 14 Jan 2018 09:21:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7197CE08D9; Sun, 14 Jan 2018 09:21:31 +0000 (UTC) Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F1F6DE0898 for ; Sun, 14 Jan 2018 09:21:30 +0000 (UTC) Received: by mail-wm0-x243.google.com with SMTP id r78so19244356wme.0 for ; Sun, 14 Jan 2018 01:21:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=hUq8dN/5kXy5/tGgcrvQqZm+5g6QdcjI/tzHpOew+rw=; b=e/rHcGqUJJuwq/skGH5P4GfMTvm5ItWPK+Hpu4pBNv6NoHYf8OJG6HFzjYLttoKtfx fQJ4Dyq3qsaliA2R0dD6waKIhZtWIS312RgOpYrDmYvf1Dfc24Zt8dTSGs5b8jlGVrsi K7+lCfHuwYs0mUoGRwq/TrKuWicMTh82m1uiwmZb2ERMmx5rr0d3bqbmsocDRhItNL6Y U63AOWo2moS4VanGDrQVBpu/DOT0hJcAv7q+ohLkEaQyAEnLGUaqVlvmEqujVrDb3rCS 7C17ru9PuZhW2h+XdkSIw2tTD74GKbW/DYCixFgsCKwRe2nf/71u6PIMIyM+lDZoscdH Wx6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=hUq8dN/5kXy5/tGgcrvQqZm+5g6QdcjI/tzHpOew+rw=; b=OsF16+txx0Q2BJI6Q6JzIOhAg4nhVfadxim4iIBav+e5cKknhBk6WKQDKsjzOmBdzd bR2CiRxZh3FWc3luZidw2SMJiQ1NjV+qAYvbvHfeKO8XUkdqvIxHGFWFr/JK+9BYEoeO QLpiggke/O3QGSUoxB/gUgULvAicv5fuO2uMsoIdv1eKsOO5MnsTvCbLDFk4Scbvw2dF g9Gm75r+COX55mnMC4ZV5NEE5OQdWxflwFUDgGN4J4aTELiiti1lofnyCGN3x9WXTpZT sm3YCmFuo5EK3eWLlGZDdbmevE7WHCitDZeyf8rydxN21blLrgwFHLYUgvrJLKJbeymI /CdA== X-Gm-Message-State: AKwxytc7XjdJP9/EnJ1cerCNg9MVxGhcWtGti4xlBKYIcK00zt0+pcTY j8610q/Mu8EU5C+duMY3vMEe7g== X-Google-Smtp-Source: ACJfBouHeJP/G5M485qkPXL9V+N1pO3hsQ8y+qVA4yWZ5B4cN2CBl1pLh/I3ho/PZVzMQ+xKKda61g== X-Received: by 10.80.194.89 with SMTP id t25mr15943887edf.233.1515921689477; Sun, 14 Jan 2018 01:21:29 -0800 (PST) Received: from [172.20.0.40] ([197.101.48.133]) by smtp.googlemail.com with ESMTPSA id y5sm15802429edj.5.2018.01.14.01.21.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Jan 2018 01:21:28 -0800 (PST) Subject: Re: [gentoo-user] fsck check of /usr on a separate partition fails during boot To: gentoo-user@lists.gentoo.org References: <1515841123.569865.1234053704.79666D14@webmail.messagingengine.com> <20180113172932.GA22136@31c0.net> <1515871850.730519.1234341488.39240761@webmail.messagingengine.com> <20180113205411.3bab9ace@digimed.co.uk> <20180113211602.5a4b22d5@digimed.co.uk> <0290d20a-6423-1c5a-dd5b-68569216c2b5@gmail.com> <20180113233634.5e9f07c7@digimed.co.uk> From: Alan McKinnon Message-ID: <020ba2ae-014b-5795-a074-62b06895ade9@gmail.com> Date: Sun, 14 Jan 2018 11:15:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <20180113233634.5e9f07c7@digimed.co.uk> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Archives-Salt: 26d69a4b-f527-43fb-9aae-7f940e77a033 X-Archives-Hash: f2a73436efd8d7e16a89abdec12bc3ca On 14/01/2018 01:36, Neil Bothwick wrote: > On Sat, 13 Jan 2018 23:16:19 +0200, Alan McKinnon wrote: > >> On 13/01/2018 23:16, Neil Bothwick wrote: >>> On Sat, 13 Jan 2018 14:57:59 -0600, John Johnson wrote: >>> >>>> Shouldn't that be taken care of by the "/etc/fstab" entries? >>> >>> Those say whether the filesystem should be checked, not when. >>> >>>> Obviously, if "/usr" is on a separate partition, it needs to be >>>> mounted at the time when "/usr/sbin/fsck" is expected to be >>>> present. >>> >>> fsck is in /sbin, but that's not the point. If you have an initramfs, >>> fsck should be in it and run before /usr is mounted rw, which means it >>> has to be done by the initramfs. It's too late to do it when control >>> has been handed over because then /usr is already mounted rw. >> >> >> So what does the dirty check and fsck of / ? > > OpenRC AFAIK. > >> I don't have an initramfs, I don't have a separate /usr, > > You need an initramfs and a separate /usr to experience this problem. You > have neither so you have avoided it twice, well done :-) I'm an engineer, so I don't add unneeded things that serve no purpose and no benefit :-) -- Alan McKinnon alan.mckinnon@gmail.com