maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Help to edit /proc mount file (https://talk.maemo.org/showthread.php?t=52549)

santiago 2010-05-13 02:25

Help with /proc mount file and peep that i cant see
 
hi guys i did this

flasher-3.5 --set-rd-flags=no-omap-wd
flasher-3.5 --set-rd-flags=no-ext-wd
flasher-3.5 --enable-rd-mode
to try to edit mount file on /proc... impossible to edit... some help bout it? thanks in advance best regards, cristian ;)

santiago 2010-05-13 02:46

Re: Help to edit /proc mount file
 
ho can i run /proc/cpuinfo??? it doenst work... i tried with root access.. sudo access... nothing happened... i'd like to see all the /proc processes

b-man 2010-05-13 03:10

Re: Help to edit /proc mount file
 
Quote:

Originally Posted by santiago (Post 656326)
ho can i run /proc/cpuinfo??? it doenst work... i tried with root access.. sudo access... nothing happened...

You have to run 'cat /proc/cpuinfo' to obtain the information.

Quote:

Originally Posted by santiago (Post 656326)
i'd like to see all the /proc processes

Try running 'dmesg | tail' or 'cat /proc/kmsg' ;)

santiago 2010-05-13 03:34

Re: Help to edit /proc mount file
 
Quote:

Originally Posted by b-man (Post 656342)
You have to run 'cat /proc/cpuinfo' to obtain the information.



Try running 'dmesg | tail' or 'cat /proc/kmsg' ;)

is it posible to edit the mount file on proc???

lma 2010-05-13 05:59

Re: Help to edit /proc mount file
 
Quote:

Originally Posted by santiago (Post 656357)
is it posible to edit the mount file on proc???

No, /proc/mounts is read-only. The only way to modify it is to mount/umount something.

onion 2010-05-13 06:07

Re: Help to edit /proc mount file
 
You might like to read these before messing around in /proc if you don't know what you are doing:
http://www.mjmwired.net/kernel/Docum...stems/proc.txt
http://tldp.org/LDP/Linux-Filesystem...html/proc.html

pycage 2010-05-13 08:48

Re: Help to edit /proc mount file
 
/proc is not a real directory with files. /proc provides a view into the kernel via file-like objects, but they are not files you can edit. Sometimes you can write values into a file to directly change parameters in the kernel, but most stuff in /proc is read-only. /proc is purely virtual and has no representation on disk other than an empty directory named proc.


All times are GMT. The time now is 21:57.

vBulletin® Version 3.8.8