maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Non Optified Dev Apps (https://talk.maemo.org/showthread.php?t=40209)

Rob1n 2010-01-12 16:02

Re: Non Optified Dev Apps
 
Quote:

Originally Posted by R-R (Post 466520)
Strange, on a desktop you can upgrade and it will unlink the files live as a file doesn't really get deleted until all open() on it are closed even though it's not listing on the FS anymore... Are you sure? :-)

I'm pretty sure - the application still has the file handle open, so the space doesn't actually get freed until it's closed. You can unlink the file, but the space on disk is still reserved until the file handles are closed. This'll probably differ depending on how files/applications are opened though.

R-R 2010-01-12 16:26

Re: Non Optified Dev Apps
 
Quote:

Originally Posted by Rob1n (Post 466536)
I'm pretty sure - the application still has the file handle open, so the space doesn't actually get freed until it's closed. You can unlink the file, but the space on disk is still reserved until the file handles are closed. This'll probably differ depending on how files/applications are opened though.

uhm yes indeed, I was thinking simple deletion not space recovery... oops! :-)

geohsia 2010-01-12 22:49

Re: Non Optified Dev Apps
 
I don't know if this is a noob question, but why isn't every app that's not core firmware optified? Unless they plan on changing the install process, adding firmware should not require the pre-uninstall of apps and etc.

Having said that, I know you can't just simply move directories across partitions, but why can't they use tar ("tar cf - . | cd /temp/holding/location ; tar xvfBp - " I'm a solaris guy so my flags are may be off) to essentially move /opt and /usr/bin into another folder temporatily so that we don't have to uninstall non-optified apps?



George

-- Still saving pennies toward my N900. :-D

Flandry 2010-01-12 23:06

Re: Non Optified Dev Apps
 
I don't know the answer, but the reason for putting as much of the system as possible on the rootfs is that it is a faster flash memory than the big 32 GB secondary.

geohsia 2010-01-13 10:46

Re: Non Optified Dev Apps
 
Quote:

Originally Posted by Flandry (Post 467361)
I don't know the answer, but the reason for putting as much of the system as possible on the rootfs is that it is a faster flash memory than the big 32 GB secondary.

I can appreciate the speed difference, and I can understand not having enough space to run normally but not enough space to do install doesn't make for a good user experience since you have a huge secondary storage area.


All times are GMT. The time now is 06:25.

vBulletin® Version 3.8.8