View Single Post
Posts: 2,014 | Thanked: 1,581 times | Joined on Sep 2009
#99
Originally Posted by fatalsaint View Post
Well wait.. you and I are crossing here.

Pianobar is optified by maemo-optify. /opt is not a normal area and thus not usually added to $PATH because /opt can contain several different ideas:

/opt/package
/opt/maemo/package
/opt/maemo/bin
/opt/(insert random character that the developer decided he wanted here)

etc..

It's not consistent. So what you do is you create the directory tree.. just the directories (we're talking taking up a single inode here on the rootfs).. in the rootfs for like /usr/local/bin.

Then you link the application from the optified location, to the rootfs location.. so you get:

Code:
[sbox-FREMANTLE_ARMEL: ~/pyPandora] > which pianobar                            
/usr/local/bin/pianobar                                                         
[sbox-FREMANTLE_ARMEL: ~/pyPandora] > ls -al /usr/local/bin/pianobar            
lrwxrwxrwx  1 maemo maemo 33 Feb  9 08:07 /usr/local/bin/pianobar -> /opt/maemo/
usr/local/bin/pianobar
So, the app itself is taking up space in /opt/maemo/usr/local/bin .. and something like 3 INODE's, and then a link to the other filesystem, is being taken up in Rootfs.

No real, noticeable, space is being taken on rootfs at all.
Yeah thats perfect. Sorry think we had crossed wires there
__________________
Class .. : Power Poster, Potential Coder
Humor .. : [*********] Alignment: Chaotic Evil
Patience : [***-------] Weapon(s): +2 Logic Mace
Agro ... : |*****-----] Relic(s) : G1, N900