View Single Post
Posts: 856 | Thanked: 1,681 times | Joined on Apr 2010 @ Aleppo ,Syria
#1817
i will explain more :

".bashrc is the session settings file for bash "

this is correct
but our N900 doesn't use bash unless you made bash3 the default shell using bash-setup command

------------------------------
"which will create the pid of the process inside /dev/cgroup/cpu/user"

this will make the current terminal session get cgrouped
and if you see the content of /root/.profile which is copied to /home/user
you will understand more
you may tell me to put the content of .bashrc in .profile
but if i did that
the /dev/cgroup/cpu/user will be flooded with numbers
but if i made .profile launches the content of .bashrc
this will make pid number of the current terminal shell disappear when the session is closed

Although not sure about that yet (the pid number disappearence)
maybe because i have bash3 my default shell
that's why i'm making more tests

and btw english is not my first language


EDIT :
i don't mean to use bash as the default shell
although it work better than ash in my N900 IMO

Last edited by karam; 2011-08-12 at 01:19.
 

The Following User Says Thank You to karam For This Useful Post: