From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-182016-garchives=archives.gentoo.org@lists.gentoo.org> 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 D1451138330 for <garchives@archives.gentoo.org>; Sat, 13 Jan 2018 21:22:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A9ACE094B; Sat, 13 Jan 2018 21:21:58 +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 E235EE08DA for <gentoo-user@lists.gentoo.org>; Sat, 13 Jan 2018 21:21:57 +0000 (UTC) Received: by mail-wm0-x243.google.com with SMTP id f140so17848543wmd.2 for <gentoo-user@lists.gentoo.org>; Sat, 13 Jan 2018 13:21:57 -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=UFqB2LzAHhKO+PsDldse/Iorq5aTVZJX6T7EXN/RhI0=; b=JKWQ2Uqty3Vse6a0MxGYTrNNIpbvg8V4KGzvD7UnIh4KVXgXQb5BmFE/U0U2WrUrd9 GhD2uMQ/3Y/I3KcKNhUZhg/KzCi+Hv2xp023yb7bxqG5xYxVeGfjiRXHyFNYtj4FI3nB x5mPm4MeckmyVFngh+1Cb9XdEJHUswPTXNxYk2eBpKReKdBYJAeeGbscKNEBnWXSKzqV qEZ08jM4Xxbtnlcy92xR3KiO1pvaT+11JzCExhiwm1+MPFPdtCACNZdNBMF7hiBQFUpx oMkelCqm/X5y3tr4HXVNlk2SSnT8ZyhstBOH3VZV+AdGWYM49Ldrq8rcAepphWuiuwJ6 MMIQ== 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=UFqB2LzAHhKO+PsDldse/Iorq5aTVZJX6T7EXN/RhI0=; b=hPM2xYcQ08hfxJZAPKLD2tIk0uLzZoNA/0I0Hi+rnJ50aiakAKP11GtKBmEIFigTW3 oac/DWSaDxkRAr57dHDYbJeHFPIiywtKSXFRoqutUahefGydPLdhkDlF/kJ1BY/C2iEB G4NbzLbWk2OcaV/ISWt5JGobuOnjC+eik07GAlJQgn9GvWqvYl/Tct72cGEvzxTAz7Oq 4DRrm6EQts7kOZc1VRgjix37VWbYFjVTtxtpX/z7/rKOIa6hhWfwWIurYy5buWX9idx2 dAfPy9zF5wjgqkka2pLAQCSsw8e4Q4YLedc2aJNvDZhKO6P4FkjNgbh2b4hdfX6v1QtP pwCg== X-Gm-Message-State: AKwxyteLbSKkABsokLuR8u5FqnfulpXYo3iy+lCQC+yLYRVmZ7iRyHb4 Us0hE82XxB6NqFLEDZXYQg0o8g== X-Google-Smtp-Source: ACJfBouZLq9sYWuj77JSx4VEQ1UeFDrlzWelNVLExXrLwjbjupiG/G9ETTZakJFKd4k3R92FI6YaZw== X-Received: by 10.28.91.142 with SMTP id p136mr6734920wmb.55.1515878516366; Sat, 13 Jan 2018 13:21:56 -0800 (PST) Received: from [172.20.0.40] ([197.101.48.133]) by smtp.googlemail.com with ESMTPSA id e197sm19085174wmf.4.2018.01.13.13.21.55 for <gentoo-user@lists.gentoo.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Jan 2018 13:21:55 -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> <f93f4690-2480-b2e0-0fb6-41cbb6d416e7@gmail.com> <20180113205411.3bab9ace@digimed.co.uk> <CAMtWw9x+_zkKeQBcj+XFtF6BriJOTAMNH_1PkmYSJedKa9jpRg@mail.gmail.com> <20180113211602.5a4b22d5@digimed.co.uk> From: Alan McKinnon <alan.mckinnon@gmail.com> Message-ID: <0290d20a-6423-1c5a-dd5b-68569216c2b5@gmail.com> Date: Sat, 13 Jan 2018 23:16:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <20180113211602.5a4b22d5@digimed.co.uk> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Archives-Salt: 3fdd9ada-b666-48aa-8cc0-b17eeb0a5b47 X-Archives-Hash: fbf2281082de3d06142d6d1f49b61687 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 / ? I don't have an initramfs, I don't have a separate /usr, I run OpenRC and the kernel command line says where / is for mounting -- Alan McKinnon alan.mckinnon@gmail.com