[PATCH] olpc.fth - grow the root filesystem partition on boot

James Cameron quozl at laptop.org
Fri Mar 16 02:10:12 EDT 2012


Nice work, I like it.  It is already XO-1.75 aware.  Please could we
have a Linux initramfs expert adopt it for OLPC builds?

On Thu, Mar 15, 2012 at 02:21:04PM -0300, Emiliano Pastorino wrote:
> Hi everyone!
> 
> I wrote a dracut module a couple of weeks ago which runs during pre-mount and
> basically performs this steps:
> - If >99% of disk capacity is partitioned, exit.
> - else, expand the partition to full disk without losing data.
> 
> I'm attaching a tar.gz file, without the extension becasue gmail doesn't like
> it.
> 
> I've tested it only with XOs 1.5 and haven't measured time cost.
> 
> If someone else is going to test it, please send comments, bugs or suggestions.
> 
> Emiliano
> 
> On Thu, Mar 15, 2012 at 11:35 AM, Daniel Drake <dsd at laptop.org> wrote:
> 
>     On Thu, Mar 15, 2012 at 1:58 AM, Peter Robinson <pbrobinson at gmail.com>
>     wrote:
>     > Well it works fine for 100s of devices in our datacenter at work,
>     > maybe there's some mechanism not implemented in mmc or the linux code.
>     > cjb might be able to fill in some of the gaps..
> 
>     It only works if the device is unused (not mounted). James is trying
>     with partitions already mounted.
>     It will work if we do everything carefully from the initramfs.
>    
>     Daniel
>     _______________________________________________
>     Devel mailing list
>     Devel at lists.laptop.org
>     http://lists.laptop.org/listinfo/devel
> 
> 
> 
> 
> --
> Ing. Emiliano Pastorino
> Centro Ceibal
> Av. Italia 6201 Ed. Los Ceibos
> Montevideo, Uruguay
> Tel: (598) 2601 5773 int.: 2232 


> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel


-- 
James Cameron
http://quozl.linux.org.au/



More information about the Devel mailing list