Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: read only dir, read only dir< Next Oldest | Next Newest >
hswerdfe Offline





Group: Members
Posts: 10
Joined: April 2006
Posted: April 22 2006,19:46 QUOTE

running DSL from CD
with option
Code Sample
restore=sda1

I added
Code Sample
usr/local/firefox/searchplugins

to the file
Code Sample
/home/dsl/.filetool.lst

and rebooted

but I still can not write to that directory
even as root.both user and group is listed as 1000
all I want to do is install some mycroft plugins.
is there an easy way to do this?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 22 2006,20:02 QUOTE

/usr is a symlink to /KNOPPIX/usr until you install a *.dsl extension or run /etc/mkwriteable.  It's possible that even after doing this, files in /usr/local/firefox might link into the read-only KNOPPIX filesystem.

Is it possible to create a user searchplugins directory in /home/dsl/.mozilla/firefox/<profile>?


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
hswerdfe Offline





Group: Members
Posts: 10
Joined: April 2006
Posted: April 22 2006,20:58 QUOTE

creating the search plugins in
Code Sample
/home/dsl/.mozilla/firefox/something/searchplugins

or in there about does not seam to work.
there is a bug about it in bugzilla marked as fixed. but there is arguments about if it is actually fixed.
as for
Code Sample
/etc/mkwriteable

it does not seem to exist on my DSL cd
and I can't find a man page or howto on google.
is it the same as the "toram" boot option?
does it take arguments?
like "mkwriteable /usr/local/firefox" ?
would I have to add it to a startup script?

thanks how
my system is low ram so if it is the same as toram its not a good option, for me.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 22 2006,23:45 QUOTE

sorry...i typed the wrong path.  It's /etc/init.d/mkwriteable.  It's not the same as toram, and it's not really documented anywhere.  It's automatically run if you install a myDSL package with a *.dsl filename, but can also be run directly by root (sudo /etc/init.d/mkwriteable) or forced to run during boot with the "dsl write" boot option.

What it does is open up the /usr, /bin, and /sbin directories so you can write to them. These directories start off as symlinks to the read-only knoppix filesystem, and the script replaces the symlinks with copies of the original directories. However, most of the files within those directories remain symlinks to the files in /KNOPPIX, so you would need to overwrite the symlinks with copies of the /KNOPPIX/something/* files if you want to modify them.  I'm not sure if the firefox files fall into this category.  The re-linking of the directories' contents as a replacement for linking the directories themselves is a sort of tradeoff so you can still write, but your ram isn't being sucked up by having the whole decompressed filesystem copied into it.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
hswerdfe Offline





Group: Members
Posts: 10
Joined: April 2006
Posted: April 23 2006,20:11 QUOTE

yah thanks mikshaw
but Its a no go.  I tried running mkwritable.
and I do see what it does now a simple
"ls -l /"
tells me that...to some degree
but the firefox folder is still not writable.

ahh well...I tryied to modify the faq in the dsl wiki to explain to people what dir's are writable and what is not as I don't believe it is clear. but sadly the wiki is locked.

I am thinking about maybe mounting something on that dir to solve the issue
not sure if this will work , but it is the current plan.

I kinda thought that was what the backup.tar.gz file was doing anyway..
Back to top
Profile PM 
4 replies since April 22 2006,19:46 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: read only dir

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code