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 <d...@laptop.org> wrote:

> On Thu, Mar 15, 2012 at 1:58 AM, Peter Robinson <pbrobin...@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@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

Attachment: ceibal-expand-disk-1.0
Description: Binary data

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

Reply via email to