Help - Search - Members - Calendar
Full Version: Mounting Read-only /usr/share.rom As Read-write
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Sharp ROMs
waalkman
I would like to make some changes to my mc.ext file which resides in /usr/share.rom/mc, but the area is mounted as read only. How do I mount it as read-write so that I can make my change?

Failing that, can I remove the Midnight Commander package and re-install it elsewhere?


Thanks,

John
penguinsam
I also want to edit the smb.conf resides in /usr/lib.rom and change the codepage.
maslovsky
In both cases, delete the link that point to the file in read-only memory and copy the file itself to where the link was. After that you'll be able to edit the file.
waalkman
QUOTE(maslovsky @ Jan 13 2005, 04:50 AM)
In both cases, delete the link that point to the file in read-only memory and copy the file itself to where the link was. After that you'll be able to edit the file.


That's the first thing I did, but it didn't help. It seems like path-wise it's looking in /usr/share.rom/ first.

Renaming the mc.ext file has no effect on the way that Midnight Commander treats extensions, so I'm pretty sure that it's going right to the /usr/share.rom/ directory first.

I did some extensive checking around (.profile and the different mc.sh files, etc) on where else it could be, but I couldn't find it...


Thanks,

John
Stubear
As long as you aren't using a Cacko rom then you can do
CODE
mount -o rw,remount /

To remount the / filesystem read-write.

Make sure you do
CODE
mount -o ro,remount /
when you are finished or you could do something stupid like delete your copy of busybox by mistake.

If you are using a Cacko rom then you will have to learn how to make squashfs or cramfs (depending on cacko rom version) filesystems and create a new /boot/usr.bin - I don't recommend this unless you are ready to reflash your Zaurus if you don't do it correctly.

Stu
penguinsam
QUOTE(maslovsky @ Jan 13 2005, 08:50 PM)
In both cases, delete the link that point to the file in read-only memory and copy the file itself to where the link was. After that you'll be able to edit the file.

ya, i deleted /usr/lib/samba/smb.conf which is linked to /usr/lib.rom/samba/smb.conf, then copied that file to where the link was deleted.

i could now make changes to that file and it works properly with the codepage i desired. thanks.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2015 Invision Power Services, Inc.