Carlos E. R. wrote:
The Tuesday 2008-07-22 at 13:18 +0200, Christian Boltz wrote:
echo "export PS1=$'\\[\E[1m\E[31m\\]NOT_\\h:\\w # \\[\E(B\E[m\\]'" echo chroot /otros/test_d/ /bin/bash --login Add the "export PS1" command to /etc/bash.bashrc.local in your factory installation ;-) (create the file if it doesn't exist already)
Ah, that would be better than on on root's home as I was thinking of doing. However, I don't want to see that prompt on the occasions that I do boot my real factory partition, so the copy-paste approach may have to do for the moment :-)
You could try something like # stat -c '%d/%i' / /proc/1/root/ which should print two identical device/inode pairs a real root and two different in a chroot :-). tht, Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org