Mailinglist Archive: zypp-devel (92 mails)
| < Previous | Next > |
[zypp-devel] Re: DiskUsage calculation status (update)
- From: Ladislav Slezak <lslezak@xxxxxxx>
- Date: Tue, 07 Aug 2007 15:41:04 +0200
- Message-id: <46B87670.40706@xxxxxxx>
Duncan Mac-Vicar Prett napsal(a):
[...]
> Now the question is. During installation, YaST sets the partitions to ZYpp
> after repos are cached.
>
> - would DiskUsageCounter::detectMountPoints(); work before that?
It would detect the current partitioning in inst-sys which is not used for
installation (the target is not known and the root is in ramdisk).
> - can we set them before? or are repositories set before partitioning is done?
The repositories are registered before the installation proposal is created
(this includes also partitioning).
> - any workaround here?
The software proposal is called after partitioning proposal so if any change
(add/remove a partition) in the partitioner would trigger DU rebuild it should
work. At the begining it can be set to the current partitioning (inst-sys), it
will be changed to the proposed partitioning before requesting any DU data anyway...
BTW How much time does it take to parse DU file from e.g. Alpha7 DVD?
Ladislav
--
Best Regards
Ladislav Slezák
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: lslezak@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
[...]
> Now the question is. During installation, YaST sets the partitions to ZYpp
> after repos are cached.
>
> - would DiskUsageCounter::detectMountPoints(); work before that?
It would detect the current partitioning in inst-sys which is not used for
installation (the target is not known and the root is in ramdisk).
> - can we set them before? or are repositories set before partitioning is done?
The repositories are registered before the installation proposal is created
(this includes also partitioning).
> - any workaround here?
The software proposal is called after partitioning proposal so if any change
(add/remove a partition) in the partitioner would trigger DU rebuild it should
work. At the begining it can be set to the current partitioning (inst-sys), it
will be changed to the proposed partitioning before requesting any DU data anyway...
BTW How much time does it take to parse DU file from e.g. Alpha7 DVD?
Ladislav
--
Best Regards
Ladislav Slezák
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: lslezak@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |