[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#268830: marked as done (autopartkit: Fail to use the whole disk)



Your message dated Tue, 07 Sep 2004 16:47:04 -0400
with message-id <E1C4mro-0002nv-00@newraff.debian.org>
and subject line Bug#268830: fixed in autopartkit 1.01
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 29 Aug 2004 12:01:46 +0000
>From pere@gigs.hungry.com Sun Aug 29 05:01:46 2004
Return-path: <pere@gigs.hungry.com>
Received: from vmx1.ude.oslo.no (vmx1.skoleetaten.oslo.no) [193.156.192.31] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C1ONW-0000ft-00; Sun, 29 Aug 2004 05:01:46 -0700
Received: from smtp.skoleetaten.oslo.no (localhost [127.0.0.1])
	by vmx1.skoleetaten.oslo.no (Clean Mail System) with SMTP id 71C987D3C0
	for <submit@bugs.debian.org>; Sun, 29 Aug 2004 14:01:15 +0200 (CEST)
Received: from minerva.hungry.com (unknown [193.156.199.2])
	by smtp.skoleetaten.oslo.no (Clean Mail System) with ESMTP id 37D757D362
	for <submit@bugs.debian.org>; Sun, 29 Aug 2004 14:01:15 +0200 (CEST)
Received: from pere by minerva.hungry.com with local (Exim 3.35 #1 (Debian))
	id 1C1ON2-0001Sf-00; Sun, 29 Aug 2004 14:01:16 +0200
To: submit@bugs.debian.org
Subject: autopartkit: Fail to use the whole disk
From: Petter Reinholdtsen <pere@hungry.com>
Message-Id: <E1C1ON2-0001Sf-00@minerva.hungry.com>
Sender: Petter Reinholdtsen <pere@gigs.hungry.com>
Date: Sun, 29 Aug 2004 14:01:16 +0200
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.1 required=4.0 tests=BAYES_44,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


Package: autopartkit
Version: 0.87
Severity: important

There is a slight miscalculation in the code calculating partition
sizes.  The consequence is that a fraction of the disk is unused, and
the fraction gets larger for larger disks, and also scales with the
amount of partitions on a disk.

This patch fixes the problem.  I'm unable to commit this to SVN now,
as the repository is unavailable.

  * Petter Reinholdtsen
    - Correct partition size calculations, make sure we fill the disks
      when possible.

Index: distribute.c
===================================================================
--- distribute.c        (revision 18355)
+++ distribute.c        (working copy)
@@ -178,6 +178,7 @@
                    newsize = reqs[j].max_blk;

                /* We know the new size.  Activate it */
+               total_wanted -= reqs[j].max_blk - reqs[j].min_blk;
                diskinfo[i].freespace -= newsize - reqs[j].blocks;
                reqs[j].blocks = newsize;
            }


---------------------------------------
Received: (at 268830-close) by bugs.debian.org; 7 Sep 2004 20:53:10 +0000
>From katie@ftp-master.debian.org Tue Sep 07 13:53:10 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C4mxh-0001oc-00; Tue, 07 Sep 2004 13:53:09 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1C4mro-0002nv-00; Tue, 07 Sep 2004 16:47:04 -0400
From: Petter Reinholdtsen <pere@debian.org>
To: 268830-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#268830: fixed in autopartkit 1.01
Message-Id: <E1C4mro-0002nv-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Tue, 07 Sep 2004 16:47:04 -0400
Delivered-To: 268830-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: autopartkit
Source-Version: 1.01

We believe that the bug you reported is fixed in the latest version of
autopartkit, which is due to be installed in the Debian FTP archive:

autopartkit_1.01.dsc
  to pool/main/a/autopartkit/autopartkit_1.01.dsc
autopartkit_1.01.tar.gz
  to pool/main/a/autopartkit/autopartkit_1.01.tar.gz
autopartkit_1.01_i386.udeb
  to pool/main/a/autopartkit/autopartkit_1.01_i386.udeb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 268830@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Petter Reinholdtsen <pere@debian.org> (supplier of updated autopartkit package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue,  7 Sep 2004 22:02:55 +0200
Source: autopartkit
Binary: autopartkit
Architecture: source i386
Version: 1.01
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Petter Reinholdtsen <pere@debian.org>
Description: 
 autopartkit - Automatically Partition Hard Drives (unsafe) (udeb)
Closes: 218728 268830
Changes: 
 autopartkit (1.01) unstable; urgency=low
 .
   * Petter Reinholdtsen
     - Correct partition size calculations, make sure we
       fill the disks when possible. (Closes: #268830)
   * Andreas Dahl
     - Added code to distribute lvm-volumes as well
       (Closes: #218728 and skolelinux #653)
   * Updated translations:
     - Arabic (ar.po) by Ossama M. Khayat
     - Bulgarian (bg.po) by Ognyan Kulev
     - Bosnian (bs.po) by Safir Å eÄ?eroviÄ?
     - Catalan (ca.po) by Jordi Mallach
     - Czech (cs.po) by Miroslav Kure
     - Welsh (cy.po) by Dafydd Harries
     - Danish (da.po) by Claus Hindsgaul
     - Greek (el.po) by Greek Translation Team
     - Spanish (es.po) by Javier Fernandez-Sanguino Peña
     - Basque (eu.po) by Piarres Beobide Egaña
     - Finnish (fi.po) by Tapio Lehtonen
     - French (fr.po) by French Team
     - Hebrew (he.po) by Lior Kaplan
     - Croatian (hr.po) by Krunoslav Gernhard
     - Japanese (ja.po) by Kenshi Muto
     - Korean (ko.po) by Changwoo Ryu
     - Lithuanian (lt.po) by KÄ?stutis BiliÅ«nas
     - Latvian (lv.po) by Aigars Mahinovs
     - Norwegian (nb.po) by Bjørn Steensrud
     - Norwegian (nn.po) by HÃ¥vard Korsvoll
     - Polish (pl.po) by Bartosz Fenski
     - Russian (ru.po) by Yuri Kozlov
     - Slovak (sk.po) by Peter KLFMANiK Mann
     - Slovenian (sl.po) by Jure Ä?uhalev
     - Turkish (tr.po) by Recai Oktas
     - Simplified Chinese (zh_CN.po) by Carlos Z.F. Liu
Files: 
 9336f9785bfeb494b7b552528dfb4af7 715 debian-installer optional autopartkit_1.01.dsc
 e4e04b92d31bb926d67eb4ce043939af 201976 debian-installer optional autopartkit_1.01.tar.gz
 6f6206f761801018a69081936713092f 72292 debian-installer optional autopartkit_1.01_i386.udeb
package-type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBPhkb20zMSyow1ykRAvE9AJ9Za/aQCLgvgz2iCqMxzJT3h6u2PACgxwKf
6JL/D8q3SXAd2olQSbq8+Vo=
=xbZG
-----END PGP SIGNATURE-----



Reply to: