Results 1 to 13 of 13
  1. xorg's Avatar
    Posts
    633 Posts
    Global Posts
    1,010 Global Posts
       #1  
    This would address issues with eating up space on the internal Linux filesystems.

    Proposal to install Homebrew apps on /media/internal (USB partition) - WebOS Internals
  2. vreihen's Avatar
    Posts
    495 Posts
    Global Posts
    506 Global Posts
    #2  
    Two issues that I see off the top of my head:

    1) /media/internal is a FAT file system, and doesn't support silly things like the Unix/Linux execute permission bit on files. Not the end of the world for most WebOS apps based on JavaScript, but fatal to any one that includes shell scripts or binary executables.

    2) The kernel automagically unmounts /media/internal whenever you plug in a USB cable and choose to sync music or files. Any app installed on /media/internal would have it's files disappear (from the phone's perspective) whenever a USB transfer/sync was being done, which is probably not desirable.

    If you browse around webos-internals, I seem to recall an old discussion about putting a loopback filesystem (virtual disk) onto /media/internal, and it was ultimately discouraged due to problem #2.....
  3. xorg's Avatar
    Posts
    633 Posts
    Global Posts
    1,010 Global Posts
       #3  
    Thanks for the feedback, good points. I've been experimenting with moving apps on USB drive and most work. The proposal to developers should be altered to...

    - If the app is capable of running on /media/internal, consider putting it there rather than /var.

    Of course PreWare and other install apps would need to ensure the AppPath exists in /etc/palm/luna.conf.

    Alternatively, if we never get to the point of installing apps to /media/internal, we should promote the homebrew community to place their large data/metadata in that filesystem and not take up space on the core filesystems.

    The homebrew community needs to come up with some standard practices to address the space issue.
  4. #4  
    A bit of a side note here about devs whom may be worried about code being exposed. Please take a look at Obfuscated code - Wikipedia, the free encyclopedia and javascript obfuscation - Google Search

    It will certainly make it harder for people to reverse engineer the apps if they are worried about them being used on /media/internal.
  5. xorg's Avatar
    Posts
    633 Posts
    Global Posts
    1,010 Global Posts
       #5  
    ^Good potential work around for avoiding code exposure. Thanks for posting.

    I've been experimenting with manually moving apps over to /media/internal and all so far are working fine, except for some core apps like the phone app.

    It's based on this method I posted a while back..

    Patch webOS Modifying a Stock App While Keeping the Original - WebOS Internals

    I'll suggest to the PreWare developers that they add the AppPath to include /media/internal, which would allow developers to have the option to install their apps on that partition if they choose to. It needs support from the Dev community, and more testing.
  6. diomark's Avatar
    Posts
    752 Posts
    Global Posts
    770 Global Posts
    #6  
    Alternative is to just steal space from /media/internal and give it to where the apps live...

    I did a writeup on how to quickly do this here -

    http://forums.precentral.net/web-os-...ml#post1901300

    -mark
  7. xorg's Avatar
    Posts
    633 Posts
    Global Posts
    1,010 Global Posts
       #7  
    ^It's a slick option power users. Like it.

    Am hoping to find a method that can be handled without too much interaction for end users. For what I'm proposing, PreWare (and other install apps) only needs to add an AppPath to one config file and developers then have the option to use the /media partition, saving space on the core Linux filesystems.

    Easy and straightforward, but it needs coordination and agreement of the homebrew community. It's transparent to end users and actually much easier way of using media storage than the way ZLauncher 'moved' apps to SD card in PalmOS.
  8. aric's Avatar
    Posts
    104 Posts
    Global Posts
    108 Global Posts
    #8  
    I've done this in the past and it worked well. The only issue that arose was trying to delete and app using the orange button. The app icon would reappear after every boot or pkill LunaSysMgr command because the original application files were never deleted. I would have to manually delete the com.xxx.xxx directory. And obviously the apps weren't able to update themselves with newer versions (a new version would install itself in the /var directory).

    I'm sure an agreed upon standard install would solve these issues.
  9. lar3ry's Avatar
    Posts
    78 Posts
    Global Posts
    80 Global Posts
    #9  
    Quote Originally Posted by xorg View Post
    This would address issues with eating up space on the internal Linux filesystems.

    Proposal to install Homebrew apps on /media/internal (USB partition) - WebOS Internals
    Wouldn't this cause problems with storage of pictures? Currently, I see a lot of unwanted images when I fire up the native photo app because they are stored in /media/internal.
  10. #10  
    This would address issues with eating up space on the internal Linux filesystems.

    Proposal to install Homebrew apps on /media/internal (USB partition) - WebOS Internals
    Homebrew apps install in /media/cryptofs, which uses space dynamically from /media/internal.

    Edit: It seems that the Communities app on the TouchPad shows the day and month, but not the year of the posts. This thread is from two years ago and is not relevant since webOS 1.3.5 was released.

    -- Rod
    Last edited by rwhitby; 11/10/2011 at 04:00 AM.
    WebOS Internals and Preware Founder and Developer
    You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
    All donations go back into development.
    www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
  11. #11  
    Quote Originally Posted by rwhitby View Post
    Homebrew apps install in /media/cryptofs, which uses space dynamically from /media/internal, so I'm not sure what this thread is actually about.

    -- Rod
    For some reason he sounds like he wants to go back to pre 1.3.5 days ... Smh

    http://m.precentral.net/app-space-li...at-do-about-it

    Its been fixed!!

    http://m.precentral.net/webos-1-3-5-...pp-space-limit


    But you knew all that anyway ... =P

    -- Sent from my Palm Pre3 using Forums
  12. #12  
    I was shocked until I noticed the dates of the posts in this thread!!
  13. lar3ry's Avatar
    Posts
    78 Posts
    Global Posts
    80 Global Posts
    #13  
    Quote Originally Posted by rwhitby View Post
    Homebrew apps install in /media/cryptofs, which uses space dynamically from /media/internal.

    Edit: It seems that the Communities app on the TouchPad shows the day and month, but not the year of the posts. This thread is from two years ago and is not relevant since webOS 1.3.5 was released.

    -- Rod
    uess when I noticed that! That's right, about 2 milliseconds after I hit "Submit".

Posting Permissions