10/07/2009, 11:41 AM
|
#1 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 31
Likes Received: 1
Thanks: 7
Thanked 0 Times in 0 Posts
|
So today's story on this topic got me thinking, Aitikin, why don't you just create a symlink and work off of the media partition. Well, I don't have access to a computer that can run webOS Repair/Doctor/what have you right now, so I'm going to leave my tests for later.
That being said, I don't see why one wouldn't be able to put a folder in the Media partition and have the /var partition get copied over there and work with symlinks. Someone with better Linux knowledge/chops than I should probably proof this and make sure I'm not an idiot before anybody tries it (and I'll be amazed if I'm the first to try it, but I can't seem to see anyone else. I'm saying this again: DO NOT TRY THIS WITHOUT KNOWING WHAT YOU'RE DOING FIRST!!! Rooting around in Linux is dangerous. It can and will break your system if you are not careful. It should be as simple as logging into your Pre via SSH and creating a new (hidden) folder in the media partition: Code:
mkdir /media/.var / / the leading . makes it a hidden folder in *nix Code:
cp -R /var/ /media/.var/ Create a symlink to hidden folder: Code:
ln -s /media/.var/ /var |
10/07/2009, 12:09 PM
|
#2 (permalink) |
|
Member
![]() Join Date: Apr 2009
Posts: 289
Likes Received: 3
Thanks: 54
Thanked 43 Times in 32 Posts
|
Xorg is working on a similar solution here: http://forums.precentral.net/web-os-...-proposal.html
|
10/07/2009, 12:23 PM
|
#3 (permalink) |
|
Member
![]() ![]() Join Date: Oct 2007
Location: Northport, NY
Posts: 610
Likes Received: 4
Thanks: 448
Thanked 133 Times in 89 Posts
|
I think there was a formatting issue with this. I was thinking about this also (unfortunately i was thinking of the iPhone :\ how Cydia on the iPhone creates the extra partition for applications) but i believe members in the IRC said the formatting of the partitions is different & therefore wouldn't work.
~ If i'm wrong, someone please feel free to correct me. |
10/07/2009, 01:05 PM
|
#4 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 31
Likes Received: 1
Thanks: 7
Thanked 0 Times in 0 Posts
|
But what I'm saying is it wouldn't need to be a partition, unless the actual partition on the var is different and looks for something specific?
If someone can just post a default fstab (be it rooted or not, doesn't really matter) I'd like to be able to check out what var is listed as versus everything else. I can't ssh in right now (campus wireless is screwie and wired is just as bad) otherwise I'd do it myself. Last edited by aitikin; 10/07/2009 at 01:12 PM. |
10/07/2009, 01:11 PM
|
#5 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: kansas city, mo
Posts: 633
Likes Received: 0
Thanks: 85
Thanked 303 Times in 146 Posts
|
^I started out by linking entire /var..apps directory but felt forcing all apps to symlink was risky since the file attributes are lost, so headed down the path to selectively choose which apps to link.
Most apps will work fine without file attributes (pure javascript apps) but any apps that depend on the attributes won't work. So doing the entire directory is risky. One app at a time is less risky (and I have a backup method as well). I note this on the wiki page in 'Benefits over other methods'. |
![]() |
|
| Tags |
| app space limit, hack, linux, workaround |
| Thread Tools | |
| Display Modes | |
|
|



