maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Moving nokia maps to free up root (https://talk.maemo.org/showthread.php?t=48088)

Cheesymember 2010-03-23 11:36

Moving nokia maps to free up root
 
Hi all, sorry to bother you all, thought id ask for help before i try to flash.

i followed the intrustions to move maps =

Some applications like Nokia Maps and the microb-engine are placed in /usr/share taking up valuable root space, moving these files will not affect the apps. Moving Nokia Maps (has to be done as root):

mv /usr/share/nokia-maps /home/opt/
ln -s /home/opt/nokia-maps /usr/share/nokia-maps

The first command worked. but the second didnt. i just got that "/usr/share/nokia-maps" directory does not exist.
This now means that my maps are no longer working. Not a major issue, but would rather it did work :)

Patola 2010-03-23 11:45

Re: Moving nokia maps to free up root
 
Weird. I tried it and it worked:

Code:

/home/user # mv /usr/share/nokia-maps/ /home/opt/
/home/user # ln -s /home/opt/nokia-maps/ /usr/share/nokia-maps
/home/user # ls -lad /usr/share/nokia-maps
lrwxrwxrwx    1 root    root          21 Mar 23 08:43 /usr/share/nokia-maps -> /home/opt/nokia-maps/
/home/user #

After that I called Nokia Maps and it worked 100%.

d-iivil 2010-03-23 11:46

Re: Moving nokia maps to free up root
 
nothing. deleted message here.

Patola 2010-03-23 11:48

Re: Moving nokia maps to free up root
 
If he creates the /usr/share/nokia-maps directory, when it makes a link there the link would go inside the directory, something like /usr/share/nokia-maps/nokia-maps. Then Nokia Maps would not work!

The "real" Nokia maps files are now on /home/opt/nokia-maps. The ln -s should have worked.

d-iivil 2010-03-23 11:49

Re: Moving nokia maps to free up root
 
Quote:

Originally Posted by Patola (Post 578521)
If he creates the /usr/share/nokia-maps directory, when it makes a link there the link would go inside the directory, something like /usr/share/nokia-maps/nokia-maps. Then Nokia Maps would not work!

The "real" Nokia maps files are now on /home/opt/nokia-maps. The ln -s should have worked.

Ah, true. Forget what I wrote earlier.

d-iivil 2010-03-23 11:52

Re: Moving nokia maps to free up root
 
Quote:

Originally Posted by Patola (Post 578516)
Weird. I tried it and it worked:

Code:

/home/user # mv /usr/share/nokia-maps/ /home/opt/
/home/user # ln -s /home/opt/nokia-maps/ /usr/share/nokia-maps
/home/user # ls -lad /usr/share/nokia-maps
lrwxrwxrwx    1 root    root          21 Mar 23 08:43 /usr/share/nokia-maps -> /home/opt/nokia-maps/
/home/user #

After that I called Nokia Maps and it worked 100%.

Commands above works for me also.

somekeystrokes 2010-03-23 11:53

Re: Moving nokia maps to free up root
 
how much space does it free up?

Cheesymember 2010-03-23 11:55

Re: Moving nokia maps to free up root
 
Thanks guys, i checked my code and had a slight error. Didnt see it the 4 times i typed it in. "idiot"
Anyway. Maos working again - still only 35.mb free though. Not having any issues installing stuff yet. Think this amount is enough?

Ronaldo 2010-03-23 11:55

Re: Moving nokia maps to free up root
 
so did u guys move maps only? how much space did you gain?

d-iivil 2010-03-23 11:57

Re: Moving nokia maps to free up root
 
Quote:

Originally Posted by somekeystrokes (Post 578525)
how much space does it free up?

For me the folder size seems to be 9.6M

spanner 2010-03-23 11:58

Re: Moving nokia maps to free up root
 
Quote:

Originally Posted by Ronaldo (Post 578529)
so did u guys move maps only? how much space did you gain?

I've had nokia-maps in /opt for a while now. It works fine and freed about 10.5 MB.

MohammadAG 2010-03-23 12:06

Re: Moving nokia maps to free up root
 
@OP
Are you sure you didn't type an extra / at the end? Yes it makes a difference
ln -s /home/opt/nokia-maps/ /usr/share/nokia-maps (without a / at the end)

@Ronaldo http://wiki.maemo.org/Free_up_rootfs_space
Have about 115MBs free on rootfs, that's about 50% as df shows.

zimon 2010-03-23 12:24

Re: Moving nokia maps to free up root
 
What about after firmware update (PR1.2)? Does it mess things up then? If new version of Maemo Evi Maps goes to /usr/share/nokia-maps again replacing the soft link, then one has to remember delete old one and move again.

*sigh* kind of mess this N900's filesystems and directorytree.

I can understand / and /home being in different devices, due to different kind of physical memory, but why /dev/mmcblk0 is then partitioned to two partitions, one with ext3 and other with vfat?

Ronaldo 2010-03-23 12:30

Re: Moving nokia maps to free up root
 
Quote:

Originally Posted by MohammadAG (Post 578541)
@OP
Are you sure you didn't type an extra / at the end? Yes it makes a difference
ln -s /home/opt/nokia-maps/ /usr/share/nokia-maps (without a / at the end)

@Ronaldo http://wiki.maemo.org/Free_up_rootfs_space
Have about 115MBs free on rootfs, that's about 50% as df shows.

yeh i read that but did not use it because i dont feel i require that much space for anything, i currenlty have 55mb free after installing many apps, the only thing i have done is deleted some languages from local which gave me about 8mb.

MohammadAG 2010-03-23 12:36

Re: Moving nokia maps to free up root
 
Quote:

Originally Posted by Ronaldo (Post 578579)
yeh i read that but did not use it because i dont feel i require that much space for anything, i currenlty have 55mb free after installing many apps, the only thing i have done is deleted some languages from local which gave me about 8mb.

Well I had 115MBs, now I have 50 or so :P
Yes, extras-devel has always and will be always enabled :)
Quote:

The software hosted in extras-devel is not ready for normal users!
PLEASE PLEASE PLEASE don't play with it unless you really know what you are doing. Be ready to file proper bug reports instead of posting complaints.

Expected problems: crashes, battery drain, poor system performance, full disk space & more - SERIOUSLY!
Don't play with Extras-devel if you haven't backed up your data or aren't prepared to re-flash your device.

Ronaldo 2010-03-23 12:39

Re: Moving nokia maps to free up root
 
yeh i disable mine after i download something or update


All times are GMT. The time now is 12:40.

vBulletin® Version 3.8.8