OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: waalkman on January 13, 2005, 04:22:54 am
-
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
-
I also want to edit the smb.conf resides in /usr/lib.rom and change the codepage.
-
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.
-
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
-
As long as you aren't using a Cacko rom then you can do
mount -o rw,remount /
To remount the / filesystem read-write.
Make sure you do
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
-
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.