I thought the idea was that minor updates would go out as normal (taking
up space on the r/w partition), and then there would be a mechanism to
do system updates where everything on sda1 is replaced (boot kernel,
initrd, rootfs.img).  This would require a bit more separation of the
rootfs.img and some intelligent upgrade scripts, but it is a doable
solution.  Part of this would involve 3rd party app installs to be
located separately from the OS image area.  Normally this is done by
using /usr/local, but it could also involve installing into /home/ume.
Either location should be on the r/w partition only anyways.  

Also, is there a reason not to create subdirectories on the r/w
partition for various things, like a /home directory and a /changes
directory that mirrors the rootfs?

Directories that shouldn't be in the rootfs (imo) include:
        /var
        /tmp
        /home
        /usr/local

They may need to exist in the rootfs.img, but should be blank.  Of
course this creates an issue with the apt cache, but that can be solved
with a first-boot script that unarchives the appropriate files to the
r/w partition.


This is just my opinion of how this should work.  As I am apparently
human (my wife says otherwise), it is subject to error.


Tobin

On Wed, 2008-04-30 at 21:01 +0200, Loïc Minier wrote:
> On a related topic, I was hit by #224754 today where you can't upgrade
>  sudo under unionfs (or any package shipping hard links).  That's a very
>  serious concern to me (dpkg crashes, kernel oopses, system breaks
>  horribly).
> 
>  Also, we have a huge issue: all the security / stable updates will eat
>  more and more space on the r/w part of the partition...  For example,
>  if you upgrade package foo, both the old files and the new files will
>  eat space forever (one time compressed in the squashmnt, and one time
>  uncompressed in the persistmnt).
> 
>  So either we release with unionfs, make the space commitments but run
>  into tons of bugs and get a time bomb with upgrades eating space over
>  time.  Or we switch to ext3, and probably fail the space commitments,
>  but we get better performances and less wasted space.
> 
> -- 
> Loïc Minier
> 
-- 
Tobin Davis 

How many surrealists does it take to screw in a lightbulb?

One to hold the giraffe and one to fill the bathtub with brightly colored
power tools.


-- 
Ubuntu-mobile mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile

Reply via email to