Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: Gentoo User <gentoo-user@l.g.o>
Subject: [gentoo-user] To mount or not to Mount proc, that is the question
Date: Fri, 16 Mar 2012 19:41:52
Message-Id: CAK2H+edgjz548NXDEqdKYoyVk_pBKjaP4qY_3Zr50H6U5YxFcQ@mail.gmail.com
1 I've been trying to debug a problem where one laptop's networking, as
2 controlled by wicd, seems to randomly go offline once in awhile. In
3 the process of reviewing 5 machines I ran across an inconsistency
4 across a bunch of my machines, new and old. It seems some of them
5 mount proc in fstab while others do not. Some of these machines have
6 been around for a few years not mounting proc and except for the
7 laptop's networking issues there really haven't been any problems.
8
9 Looking at the Gentoo amd64 install guide here:
10
11 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=8
12
13 it appears that the recommendation is to mount proc.
14
15 [QUOTE]
16
17 /dev/sda1 /boot ext2 defaults,noatime 1 2
18 /dev/sda2 none swap sw 0 0
19 /dev/sda3 / ext3 noatime 0 1
20
21 /dev/cdrom /mnt/cdrom auto noauto,user 0 0
22
23 proc /proc proc defaults 0 0
24 shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
25
26 [QUOTE]
27
28
29 What would the issues be with proc not mounted? For instance, this
30 machine doesn't mount proc in fstab but still has proc:
31
32 laptop1 ~ # cat /etc/fstab
33 <SNIP>
34 /dev/sdb1 /boot ext2 noauto,noatime 1 2
35 /dev/sdb4 / ext3 noatime 0 1
36 /dev/sdb2 none swap sw 0 0
37 /dev/cdrom /mnt/cdrom auto noauto,ro 0 0
38
39 shm /dev/shm tmpfs
40 nodev,nosuid,noexec 0 0
41
42
43 laptop1 ~ # cat /proc/mdstat
44 Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
45 md127 : active (auto-read-only) raid1 sdb3[1] sda3[0]
46 343758245 blocks super 1.2 [2/2] [UU]
47
48 unused devices: <none>
49 laptop1 ~ #
50
51 Thanks,
52 Mark

Replies

Subject Author
Re: [gentoo-user] To mount or not to Mount proc, that is the question "Canek Peláez Valdés" <caneko@×××××.com>