10/07/2009, 11:41 AM
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 ***** 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:
Copying everything over from your var partition to the new folder:
mkdir /media/.var / / the leading . makes it a hidden folder in *nix
Editing fstab to remove the var partition (may not be necessary). Not listing anything as I'm not even 60% sure on the code needed
cp -R /var/ /media/.var/
Create a symlink to hidden folder:
And be done with it. Something about this says that it's WAAAAAAY too easy to work, but who knows. Someone who knows linux better please yell at me for getting this wrong so I don't try it and have to resort to the Doctor...
ln -s /media/.var/ /var