Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Output of "mount" and "cat /etc/mtab" inside install chroot?
Date: Sat, 19 Apr 2014 21:17:14
Message-Id: 20140419211652.GA1961@waltdnes.org
In Reply to: Re: [gentoo-user] Output of "mount" and "cat /etc/mtab" inside install chroot? by Tom H
1 On Sat, Apr 19, 2014 at 10:24:17AM -0400, Tom H wrote
2
3 > I symlink "/proc/self/mounts" to "/etc/mtab".
4 >
5 > But the handbook has "grep -v rootfs /proc/mounts > /etc/mtab".
6
7 I re-checked the AMD64 install docs in Firefox "{CTRL}F" "mtab" in...
8 http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1
9
10 The ***Default: Setting up GRUB using grub-install*** section has...
11
12 > Code Listing 4.5: Creating /etc/mtab
13 >
14 > # grep -v rootfs /proc/mounts > /etc/mtab
15
16 The lilo install does not have these instructions, neither does grub-2,
17 just legacy grub. I've installed Gentoo with lilo a lot of times over
18 the past several years (since November 2004), and I have never had to
19 tweak /etc/mtab. This implies one of...
20
21 * either the behaviour of /etc/mtab has changed.
22 * or grepping "mount" output is a recent "new and improved feature" of
23 the lilo ebuild.
24
25 --
26 Walter Dnes <waltdnes@××××××××.org>
27 I don't run "desktop environments"; I run useful applications

Replies