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

Bug#635398: marked as done (humandev() support for ZFS volumes)



Your message dated Thu, 08 Sep 2011 17:47:25 +0000
with message-id <E1R1ihB-0004qP-CL@franck.debian.org>
and subject line Bug#635398: fixed in partman-base 151
has caused the Debian Bug report #635398,
regarding humandev() support for ZFS volumes
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 owner@bugs.debian.org
immediately.)


-- 
635398: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635398
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: partman-base
Version: 150
Severity: wishlist
Tags: patch
User: debian-bsd@lists.debian.org
Usertags: kfreebsd

Please consider this patch to add support for ZFS volumes in humandev().

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 8.2-1-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff --git a/debian/partman-base.templates b/debian/partman-base.templates
index 42fe697..202cd1e 100644
--- a/debian/partman-base.templates
+++ b/debian/partman-base.templates
@@ -374,6 +374,11 @@ Type: text
 # :sl3:
 _Description: LVM VG %s, LV %s
 
+Template: partman/text/zfs_volume
+Type: text
+# :sl3:
+_Description: ZFS pool %s, volume %s
+
 Template: partman/text/loopback
 Type: text
 # :sl3:
diff --git a/lib/base.sh b/lib/base.sh
index 32e6b00..c6dc806 100644
--- a/lib/base.sh
+++ b/lib/base.sh
@@ -991,6 +991,12 @@ humandev () {
 	    db_metaget partman/text/scsi_simple_disk description
 	    printf "$RET" "$drive" "$kfreebsd"
 	    ;;
+	/dev/zvol/*)
+	    pool=`echo "$1" | sed -e 's,/dev/zvol/\([^/]*\)/[^/]*,\1,'`
+	    zvol=`echo "$1" | sed -e 's,/dev/zvol/[^/]*/\([^/]*\),\1,'`
+	    db_metaget partman/text/zfs_volume description
+	    printf "$RET" "$pool" "$zvol"
+	    ;;
 	*)
 	    # Check if it's an LVM1 device
 	    vg=`echo "$1" | sed -e 's,/dev/\([^/]\+\).*,\1,'`

--- End Message ---
--- Begin Message ---
Source: partman-base
Source-Version: 151

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

partman-base_151.dsc
  to main/p/partman-base/partman-base_151.dsc
partman-base_151.tar.gz
  to main/p/partman-base/partman-base_151.tar.gz
partman-base_151_i386.udeb
  to main/p/partman-base/partman-base_151_i386.udeb
partman-utils_151_i386.udeb
  to main/p/partman-base/partman-utils_151_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 635398@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated partman-base 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: SHA256

Format: 1.8
Date: Thu, 08 Sep 2011 18:36:48 +0100
Source: partman-base
Binary: partman-base partman-utils
Architecture: source i386
Version: 151
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Description: 
 partman-base - Partition the storage devices (partman) (udeb)
 partman-utils - Utilities related to partitioning (udeb)
Closes: 635398
Changes: 
 partman-base (151) unstable; urgency=low
 .
   [ Otavio Salvador ]
   * Add ZFS description support. Thanks to Robert Millan
     <rmh@debian.org> for the patch. Closes: #635398.
 .
   [ Colin Watson ]
   * Localise some more variables in partman_lock_unit and
     partman_unlock_unit.
 .
   [ Updated translations ]
   * Asturian (ast.po) by MAAC
   * Czech (cs.po) by Miroslav Kure
   * German (de.po) by Holger Wansing
   * Basque (eu.po)
   * French (fr.po) by Christian Perrier
   * Hebrew (he.po) by Lior Kaplan
   * Italian (it.po) by Milo Casagrande
   * Japanese (ja.po) by Kenshi Muto
   * Macedonian (mk.po) by Arangel Angov
   * Portuguese (pt.po) by Miguel Figueiredo
   * Russian (ru.po) by Yuri Kozlov
   * Sinhala (si.po) by Yuri Kozlov
   * Slovak (sk.po) by Ivan Masár
   * Thai (th.po) by Theppitak Karoonboonyanan
   * Simplified Chinese (zh_CN.po) by YunQiang Su
Checksums-Sha1: 
 e235a17539ac9771ad371882e0f4993db267777d 1754 partman-base_151.dsc
 e08a4b2ccdc827bb8589756b905b2ba1de127bc4 190984 partman-base_151.tar.gz
 717bcc6648ce08523d582266b1c250cbcf4f881a 153288 partman-base_151_i386.udeb
 746c04466adb1b526af28469dd40900343eef5c1 3886 partman-utils_151_i386.udeb
Checksums-Sha256: 
 974e3ade4baf2b18bb0bda9649346876de274915c19b1805a3765d9f0ef08f1d 1754 partman-base_151.dsc
 4ff5b725279a860b52bb776b0ed31b51ac747ace3f1e0a7fa6159930dee438b3 190984 partman-base_151.tar.gz
 35f9c694df952a9ba37f298b09d14ef0e40c0fb1dd142bdf848d75b7eb0fca4e 153288 partman-base_151_i386.udeb
 68ffa0ee32ae12dc787e701db50a9d4369f8eddaa062a1ff60fafbb88b91ce41 3886 partman-utils_151_i386.udeb
Files: 
 ecf97d1ea695f140a5d40497e922adf0 1754 debian-installer standard partman-base_151.dsc
 ab917c6a540382d7eb609f7a53f45d26 190984 debian-installer standard partman-base_151.tar.gz
 5cac96ce87633507e98d4dfe01cc15c8 153288 debian-installer standard partman-base_151_i386.udeb
 12da4fc5b9c083f5eff65b58e378fe84 3886 debian-installer extra partman-utils_151_i386.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer

iQIVAwUBTmj9Zjk1h9l9hlALAQixuRAAsN0VbsSHQkMuTnBLwtcpDxMxqbJJWofY
KO/FfoYbXX/QrHIXA5ErwURIxlwiZFVj0mrFQqczkK3NMsTEHh8DtN8Mho1ykh2x
qaKlQrkuahpcQnKrLqv/POp5AbIUltySWcV0n93PuUOeFRtbEHssfihacYq4/GE+
2j2lgEQ5hyFdF82ZKiJq4pMTWbZCDW+2U55YVdsbKAg1xNwYmqIW1aQuVDjnu8IV
X0vcqm7EbS96nb6qxMHSIIaHK7IrLvMVH6zuol79izRfaJUONEcZ4fDIiqrBYMOu
dtKRJn1QwTbUPYxV+3CX4bg9heInZafjYV8MiwcU/OgdgfKygfTjGJRmRionkhVX
sbWjmk7w4KgB58Zs/avMXO8to8g3ADagGapvto/KsP4eSt6R441UbKuyNazUMmW6
t+sl+2wRy4jc7i064op+EBP/m+o6A5+Y+QUTG1xuVwFBAvm7/wm3lBXbHLp+OiPL
Th/VlVizxO5G5KY1fAwkZE5Vj/cPTnGvm0ZCe5yi82YiXR0mkyLnyQdqS2zRQxuV
tied77doUeUVTgTx6jt5k2AGOxYD2LUfk83o2DVNCT/zfOxYR3pAPuXuFyX+ju5Q
LY9zYtOLHlSG/vCFmGVXj3lcqsKck6I1djbhmq0EK51oRjLHDRoOZ5XryuojWa2y
d8DIZwoEYxA=
=fgQC
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: