Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #13687
| From | Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: empty /proc directory |
| Date | 2015-02-15 00:31 +0100 |
| Organization | Plouf ! |
| Message-ID | <mbolsc$2r68$1@saria.nerim.net> (permalink) |
| References | <a1d03113-d52d-4010-a3f0-a53e3cfa344b@googlegroups.com> |
porparek@gmail.com a écrit :
>
> /etc/fstab contains:
> proc /proc procfs rw,noauto 0 0
>
> 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