Your message dated Wed, 29 Sep 2010 07:47:16 +0000
with message-id <[email protected]>
and subject line Bug#592292: fixed in util-linux 2.17.2-3.3
has caused the Debian Bug report #592292,
regarding report correct disk size on kfreebsd
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
592292: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592292
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: util-linux
Version: 2.17.2-3.1
Severity: important
Tags: patch
User: [email protected]
Usertags: kfreebsd
X-Debbugs-CC: [email protected]
Hi,
This fix makes fdisk report the correct disk size on Debian GNU/kFreeBSD.
diff -ur util-linux-2.17.2/configure.ac util-linux-2.17.2.fix/configure.ac
--- util-linux-2.17.2/configure.ac 2010-08-07 08:33:22.000000000 -0400
+++ util-linux-2.17.2.fix/configure.ac 2010-08-07 07:47:36.752135651 -0400
@@ -94,7 +94,7 @@
AC_SYS_LARGEFILE
-AC_CHECK_HEADERS([linux/compiler.h linux/blkpg.h linux/major.h], [], [], [
+AC_CHECK_HEADERS([linux/compiler.h linux/blkpg.h linux/major.h sys/disk.h], [], [], [
#ifdef HAVE_LINUX_COMPILER_H
#include <linux/compiler.h>
#endif
diff -ur util-linux-2.17.2/lib/blkdev.c util-linux-2.17.2.fix/lib/blkdev.c
--- util-linux-2.17.2/lib/blkdev.c 2010-03-22 04:05:42.000000000 -0400
+++ util-linux-2.17.2.fix/lib/blkdev.c 2010-08-07 08:09:42.223428053 -0400
@@ -3,6 +3,10 @@
#include <sys/ioctl.h>
#include <unistd.h>
+#ifdef HAVE_SYS_DISK_H
+#include <sys/disk.h>
+#endif
+
#include "blkdev.h"
#include "linux_version.h"
@@ -67,6 +71,17 @@
return -1;
#endif /* BLKGETSIZE */
+#ifdef DIOCGMEDIASIZE
+ {
+ off_t size;
+
+ if (ioctl(fd, DIOCGMEDIASIZE, &size) >= 0) {
+ *bytes = size;
+ return 0;
+ }
+ }
+#endif /* DIOCGMEDIASIZE */
+
*bytes = blkdev_find_size(fd);
return 0;
}
--- End Message ---
--- Begin Message ---
Source: util-linux
Source-Version: 2.17.2-3.3
We believe that the bug you reported is fixed in the latest version of
util-linux, which is due to be installed in the Debian FTP archive:
bsdutils_2.17.2-3.3_kfreebsd-amd64.deb
to main/u/util-linux/bsdutils_2.17.2-3.3_kfreebsd-amd64.deb
libblkid-dev_2.17.2-3.3_kfreebsd-amd64.deb
to main/u/util-linux/libblkid-dev_2.17.2-3.3_kfreebsd-amd64.deb
libblkid1-udeb_2.17.2-3.3_kfreebsd-amd64.udeb
to main/u/util-linux/libblkid1-udeb_2.17.2-3.3_kfreebsd-amd64.udeb
libblkid1_2.17.2-3.3_kfreebsd-amd64.deb
to main/u/util-linux/libblkid1_2.17.2-3.3_kfreebsd-amd64.deb
libuuid1-udeb_2.17.2-3.3_kfreebsd-amd64.udeb
to main/u/util-linux/libuuid1-udeb_2.17.2-3.3_kfreebsd-amd64.udeb
libuuid1_2.17.2-3.3_kfreebsd-amd64.deb
to main/u/util-linux/libuuid1_2.17.2-3.3_kfreebsd-amd64.deb
util-linux-locales_2.17.2-3.3_all.deb
to main/u/util-linux/util-linux-locales_2.17.2-3.3_all.deb
util-linux-udeb_2.17.2-3.3_kfreebsd-amd64.udeb
to main/u/util-linux/util-linux-udeb_2.17.2-3.3_kfreebsd-amd64.udeb
util-linux_2.17.2-3.3.diff.gz
to main/u/util-linux/util-linux_2.17.2-3.3.diff.gz
util-linux_2.17.2-3.3.dsc
to main/u/util-linux/util-linux_2.17.2-3.3.dsc
util-linux_2.17.2-3.3_kfreebsd-amd64.deb
to main/u/util-linux/util-linux_2.17.2-3.3_kfreebsd-amd64.deb
uuid-dev_2.17.2-3.3_kfreebsd-amd64.deb
to main/u/util-linux/uuid-dev_2.17.2-3.3_kfreebsd-amd64.deb
uuid-runtime_2.17.2-3.3_kfreebsd-amd64.deb
to main/u/util-linux/uuid-runtime_2.17.2-3.3_kfreebsd-amd64.deb
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Robert Millan <[email protected]> (supplier of updated util-linux 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 29 Sep 2010 09:18:08 +0200
Source: util-linux
Binary: util-linux util-linux-locales mount bsdutils fdisk-udeb cfdisk-udeb
libblkid1 libblkid1-udeb libblkid-dev libuuid1 uuid-runtime libuuid1-udeb
uuid-dev util-linux-udeb
Architecture: source all kfreebsd-amd64
Version: 2.17.2-3.3
Distribution: unstable
Urgency: low
Maintainer: LaMont Jones <[email protected]>
Changed-By: Robert Millan <[email protected]>
Description:
bsdutils - Basic utilities from 4.4BSD-Lite
cfdisk-udeb - Manually partition a hard drive (cfdisk) (udeb)
fdisk-udeb - Manually partition a hard drive (fdisk) (udeb)
libblkid-dev - block device id library - headers and static libraries
libblkid1 - block device id library
libblkid1-udeb - block device id library (udeb)
libuuid1 - Universally Unique ID library
libuuid1-udeb - stripped down universally unique id library, for
debian-installer (udeb)
mount - Tools for mounting and manipulating filesystems
util-linux - Miscellaneous system utilities
util-linux-locales - Locales files for util-linux
util-linux-udeb - Miscellaneous system utilities (udeb)
uuid-dev - universally unique id library - headers and static libraries
uuid-runtime - runtime components for the Universally Unique ID library
Closes: 592292
Changes:
util-linux (2.17.2-3.3) unstable; urgency=low
.
* Non-maintainer upload.
* Report correct disk size on GNU/kFreeBSD. Thanks Tuco.
(Closes: #592292)
Checksums-Sha1:
7cce3632d5c524ca5a7ed6bd1c565862e17a3cbf 1505 util-linux_2.17.2-3.3.dsc
d0844d49b8f1d13ee0dcdf1dbbf6d9d40b03b67f 182390 util-linux_2.17.2-3.3.diff.gz
33333d168a142373f012ef4b64de60ed104e67eb 1386600
util-linux-locales_2.17.2-3.3_all.deb
80fc4a2d99110e1782eddcf0b2b8b4878e03224d 601482
util-linux_2.17.2-3.3_kfreebsd-amd64.deb
acf2b77639a97bcc54cf422bbc25688c288519b4 79558
bsdutils_2.17.2-3.3_kfreebsd-amd64.deb
5b771fec52e7a48f3ade057bdfe8a583bc44b92e 106794
libblkid1_2.17.2-3.3_kfreebsd-amd64.deb
34524ef9e64eef688eace3458c8249ea4ca98f24 57304
libblkid1-udeb_2.17.2-3.3_kfreebsd-amd64.udeb
88fe0c11263d73262e3936a59a18b7ec6e61dada 134642
libblkid-dev_2.17.2-3.3_kfreebsd-amd64.deb
92c00a09ffd28fc1206b4f0cccbc3542d4598389 58258
libuuid1_2.17.2-3.3_kfreebsd-amd64.deb
3cb20cfb62cc47c5119a193bde4334ec825f0732 60772
uuid-runtime_2.17.2-3.3_kfreebsd-amd64.deb
a9a773b13a8e96cf09ad327b49992d7476c336fa 7782
libuuid1-udeb_2.17.2-3.3_kfreebsd-amd64.udeb
30fb626c930953d1b7e3c8b3207bd096207ef32b 73514
uuid-dev_2.17.2-3.3_kfreebsd-amd64.deb
29fddeb4f23f0f75f9f2e447bb0a08ae432bdfc8 10826
util-linux-udeb_2.17.2-3.3_kfreebsd-amd64.udeb
Checksums-Sha256:
ce6e4c0fc3c0194a043d7dca4f2d1d1d338b0ff5070b76c32c9d3e4573e6fa37 1505
util-linux_2.17.2-3.3.dsc
1438d2c36258153d908fbd3aab81205716d74824130cf3b722623904e2ea884f 182390
util-linux_2.17.2-3.3.diff.gz
10e0802e4f8404ff968b23065a5a255dc53078edff881b90badda45de4029ee3 1386600
util-linux-locales_2.17.2-3.3_all.deb
00e6262ad37ca35ec4b54254ab78459af76644d5c295566e743144228f0623f4 601482
util-linux_2.17.2-3.3_kfreebsd-amd64.deb
52525078e4c409442cb573ecaab0798f970596e9673cbe6753c146fdc1c44e37 79558
bsdutils_2.17.2-3.3_kfreebsd-amd64.deb
c9d32c7cda5e2b349f014a0d1a90a7f8d4709dfc47581895fcc8110711b5fc17 106794
libblkid1_2.17.2-3.3_kfreebsd-amd64.deb
38cdedee0b1de8981166709c947d5462955e84c8229e691cdc28cebface95b0a 57304
libblkid1-udeb_2.17.2-3.3_kfreebsd-amd64.udeb
d74caefbd2921d47fbe30608cfdfd501e71583fda335a2b17cdd3f7354487c57 134642
libblkid-dev_2.17.2-3.3_kfreebsd-amd64.deb
44277357bc5b9511489315737f718606ceabb38dd7b6a5751af786949f220b53 58258
libuuid1_2.17.2-3.3_kfreebsd-amd64.deb
7aa6dce8fa7ff1126be4c7e9c4fe807befd72038954c3e90ff2f1505a2d58868 60772
uuid-runtime_2.17.2-3.3_kfreebsd-amd64.deb
b0b0296f87b63ee880bfbd7a2e4d82a17907617f56be070b26a9354677530b9b 7782
libuuid1-udeb_2.17.2-3.3_kfreebsd-amd64.udeb
87bc5765891719ac5fd747a16e02ccba28c6ae08fa929257e1beb8456917a222 73514
uuid-dev_2.17.2-3.3_kfreebsd-amd64.deb
b8830459490243b4590b924001adbaa80b928a8d41e22bd11cb02ccb904f8a10 10826
util-linux-udeb_2.17.2-3.3_kfreebsd-amd64.udeb
Files:
c4e581e952cf3d689d9b70e22cd5a928 1505 base required util-linux_2.17.2-3.3.dsc
122b537b68acf8ac35396ee6def36df1 182390 base required
util-linux_2.17.2-3.3.diff.gz
1711abc7b30676d99d70456e110a9a69 1386600 utils optional
util-linux-locales_2.17.2-3.3_all.deb
93b87613e66934efedf8399f493c2c49 601482 utils required
util-linux_2.17.2-3.3_kfreebsd-amd64.deb
29474f8d9ca17874e84939b6e2456047 79558 utils required
bsdutils_2.17.2-3.3_kfreebsd-amd64.deb
a9893966aabacfa7f209d38941bc8f11 106794 libs required
libblkid1_2.17.2-3.3_kfreebsd-amd64.deb
b674417944ab22044e757f55cac6c1dc 57304 debian-installer optional
libblkid1-udeb_2.17.2-3.3_kfreebsd-amd64.udeb
4b5dcd29ea84354a8b0340243ac369c7 134642 libdevel extra
libblkid-dev_2.17.2-3.3_kfreebsd-amd64.deb
ca7d7b3be53e426ac301daeb7cc88873 58258 libs required
libuuid1_2.17.2-3.3_kfreebsd-amd64.deb
ce4f70e233a0124adb148a6fb590d195 60772 libs optional
uuid-runtime_2.17.2-3.3_kfreebsd-amd64.deb
7219f0d7986ebefc8195f6469ecf4b10 7782 debian-installer optional
libuuid1-udeb_2.17.2-3.3_kfreebsd-amd64.udeb
7b0a5753e79a964e5b0c8c82367a3583 73514 libdevel extra
uuid-dev_2.17.2-3.3_kfreebsd-amd64.deb
078bebfb4a2e6cf51e965bbecb7bac3f 10826 debian-installer optional
util-linux-udeb_2.17.2-3.3_kfreebsd-amd64.udeb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/kFreeBSD)
iEYEARECAAYFAkyi6WwACgkQC19io6rUCv/X+ACeI17MuNN4naO27ba0BVOfkc3p
64MAni92BaqaVLEgVRjNYg/dPcK4Sx9B
=YCFR
-----END PGP SIGNATURE-----
--- End Message ---