![]() ![]() |
Jan 20 2008, 06:48 AM
Post
#1
|
|
|
Group: Members Posts: 11 Joined: 26-November 03 From: Washington, DC Member No.: 997 |
I'm using a SL-C3200 with the Sharp ROM and I want to change the su prompt from '# ' to '\w #'. (I like to know where I am, I get forgetful sometimes.
If I go to the su prompt and type joe /root /.profile joe says that it's read only. Yet, from su I type ls -l /root.profile and get:
If I try to rename or delete .profile I get : Read-only file system. And lastly changing /etc/.profile or any other .profile has no effect Robin |
|
|
|
Jan 20 2008, 09:12 AM
Post
#2
|
|
|
Group: Members Posts: 226 Joined: 29-March 06 Member No.: 9,483 |
If I try to rename or delete .profile I get : Read-only file system. I think the Sharp ROM is configured with a /home/root/ directory, which should contain the file that you need to edit. I don't have my wife's Zaurus handy to check, but I'm going to guess that /root is part of a filesystem that may be used for initial booting but is kept read-only. /home/root/ probably replaces the /root directory at some later stage in the booting process. |
|
|
|
Jan 20 2008, 09:50 AM
Post
#3
|
|
|
Group: Members Posts: 11 Joined: 26-November 03 From: Washington, DC Member No.: 997 |
If I try to rename or delete .profile I get : Read-only file system. but I'm going to guess that /root is part of a filesystem that may be used for initial booting but is kept read-only. Drake01, Thanks for the reply. I'm sorry, but what I meant by 'And lastly changing /etc/.profile or any other .profile has no effect' included /home/root/.profile and any other .profile that I could find by going to su and typing find / -name .profile*:
/home/root/.profile /root/.profile In at least Ubuntu you can sudo edit /root/.profile Robin |
|
|
|
Jan 20 2008, 11:21 AM
Post
#4
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
I think Meanie explains it here:
http://www.users.on.net/~hluc/myZaurus/custom.html#custom Scroll down to, or search for "Configuring bash" |
|
|
|
Jan 20 2008, 02:54 PM
Post
#5
|
|
|
Group: Members Posts: 11 Joined: 26-November 03 From: Washington, DC Member No.: 997 |
Thank You Jon_J,
That did the trick. One of these days I'm going to give Meanie his own folder in my bookmarks directory. Robin |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 06:06 PM |