public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Output of "mount" and "cat /etc/mtab" inside install chroot?
Date: Sat, 19 Apr 2014 17:16:52 -0400	[thread overview]
Message-ID: <20140419211652.GA1961@waltdnes.org> (raw)
In-Reply-To: <CAOdo=SyKs8H565YxYVtU-cHoQhi4532su4er6Qyw-S0ZPytXrw@mail.gmail.com>

On Sat, Apr 19, 2014 at 10:24:17AM -0400, Tom H wrote

> I symlink "/proc/self/mounts" to "/etc/mtab".
> 
> But the handbook has "grep -v rootfs /proc/mounts > /etc/mtab".

  I re-checked the AMD64 install docs in Firefox "{CTRL}F" "mtab" in...
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1

  The ***Default: Setting up GRUB using grub-install*** section has...

> Code Listing 4.5: Creating /etc/mtab
>
> # grep -v rootfs /proc/mounts > /etc/mtab

  The lilo install does not have these instructions, neither does grub-2,
just legacy grub.  I've installed Gentoo with lilo a lot of times over
the past several years (since November 2004), and I have never had to
tweak /etc/mtab.  This implies one of...

* either the behaviour of /etc/mtab has changed.
* or grepping "mount" output is a recent "new and improved feature" of
  the lilo ebuild.

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


  reply	other threads:[~2014-04-19 21:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-19 11:43 [gentoo-user] Output of "mount" and "cat /etc/mtab" inside install chroot? Walter Dnes
2014-04-19 12:21 ` Tom H
2014-04-19 12:54 ` Peter Humphrey
2014-04-19 13:37   ` Mark David Dumlao
2014-04-19 14:24   ` Tom H
2014-04-19 21:16     ` Walter Dnes [this message]
2014-04-21 10:16       ` Tom H
2014-04-20 22:55   ` yac
2014-04-21  8:38     ` Peter Humphrey
2014-04-21 23:44       ` Walter Dnes
2014-04-22  8:48         ` Peter Humphrey
2014-04-23  3:22           ` [gentoo-user] " Jonathan Callen
2014-04-22 11:29         ` [gentoo-user] " Tom H

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140419211652.GA1961@waltdnes.org \
    --to=waltdnes@waltdnes.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox