Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #13691
| From | Aragorn <thorongil@telenet.be.invalid> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: empty /proc directory |
| Followup-To | comp.os.linux.misc |
| Date | 2015-02-15 07:34 +0100 |
| Organization | A noiseless patient Strider |
| Message-ID | <mbpekp$v44$1@dont-email.me> (permalink) |
| References | <a1d03113-d52d-4010-a3f0-a53e3cfa344b@googlegroups.com> <mbolsc$2r68$1@saria.nerim.net> <mbp67h$ber$1@dont-email.me> |
Followups directed to: comp.os.linux.misc
On Sunday 15 February 2015 05:10, William Unruh conveyed the following
to comp.os.linux.misc...
> On 2015-02-14, Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> wrote:
>> porparek@gmail.com a ?crit :
>>>
>>> /etc/fstab contains:
>>> proc /proc procfs rw,noauto 0 0
>
> Mine has
> none /proc proc defaults 0 0
>
> Ie, what is proc that is supposed to be mounted there, and what is
> procfs, as mentioned by Pascal?
The keyword "none" in the device field is a placeholder [*]. One /can/
substitute it with "proc" if one wishes to.
Likewise, the keyword "defaults" in the mount options field is also only
a placeholder [*] because the defaults will still apply for any mount
with the exception of explicitly listed non-default options. So for
instance, if you put "noauto" there, then all the default mount options
will still apply except for "auto" (if that is a default mount option
for that particular filesystem and device). What the default mount
options are for each device and filesystem can be gleaned from the man
page.
$ man mount
"procfs" is a term used by the kernel developers ─ likewise for "sysfs"
─ but the actual filesystem type as must be used in mount commands and
in /etc/fstab is, indeed, "proc".
[*] Placeholders are needed because /etc/fstab is a database of records
comprised of space-separated fields. Therefore an attempt to leave
a field blank by omitting a particular keyword would result in an
incorrect parsing of the file.
--
= Aragorn =
http://www.linuxcounter.net - registrant #223157
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
empty /proc directory porparek@gmail.com - 2015-02-14 13:55 -0800
Re: empty /proc directory Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2015-02-15 00:31 +0100
Re: empty /proc directory William Unruh <unruh@invalid.ca> - 2015-02-15 04:10 +0000
Re: empty /proc directory Aragorn <thorongil@telenet.be.invalid> - 2015-02-15 07:34 +0100
Re: empty /proc directory Baho Utot <baho-utot@columbus.rr.com> - 2015-02-15 07:32 -0500
Re: empty /proc directory "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2015-02-15 10:54 -0500
csiph-web