Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #13689
| From | William Unruh <unruh@invalid.ca> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: empty /proc directory |
| Date | 2015-02-15 04:10 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <mbp67h$ber$1@dont-email.me> (permalink) |
| References | <a1d03113-d52d-4010-a3f0-a53e3cfa344b@googlegroups.com> <mbolsc$2r68$1@saria.nerim.net> |
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?
>>
>> I also do the following in my init program:
>> const char* opts = "mode=0700, uid=0";
>> unsigned long mountFlags = MS_NODEV;
>> mount("proc", "/proc", "procfs", mountFlags, opts);
>> or
>> mount("none", "/proc", "procfs", mountFlags, opts);
>>
>> "mount" returns an error "No such device"
>> Please write me what do I do wrong.
>
> The type is "proc", not "procfs".
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