Re: dynamic partitions

Jan Kratochvil (
Mon, 19 May 1997 12:52:46 +0200 (MET DST)

> > For now the `loop' device already supports "offset" option but "size"
> > is determined in drivers/block/loop.c/figure_loop_size() automagically.
> > When the size option will be added to `loop', you can losetup /dev/hda
> > to /dev/loop0 appropriately. The only problem remains the ugly
> > drivers/block/loop.c/transfer_none()/memcpy().
> As I'm working on the loop driver now, could everyone please let me know
> _exactly_ what they want. Thanks.

Sorry, my English is ugly and mind is broken (final grammar school
examination in 3 days, ouch...). It would be nice to be able to specify
also "loop_sizes[dev]" value by similiar mount option as "offset" is.
This would override the value obtained by figure_loop_size().
The whole change unfortunately requires modifications also in "mount"
and "losetup".

Thanks, Jan Kratochvil