Hello community, here is the log from the commit of package libstorage-ng for openSUSE:Factory checked in at 2018-02-02 22:18:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libstorage-ng (Old) and /work/SRC/openSUSE:Factory/.libstorage-ng.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libstorage-ng" Fri Feb 2 22:18:30 2018 rev:4 rq:571044 version:3.3.145 Changes: -------- --- /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes 2018-01-28 00:38:09.697051081 +0100 +++ /work/SRC/openSUSE:Factory/.libstorage-ng.new/libstorage-ng.changes 2018-02-02 22:18:32.168368672 +0100 @@ -1,0 +2,45 @@ +Tue Jan 30 12:51:10 UTC 2018 - [email protected] + +- merge gh#openSUSE/libstorage-ng#439 +- start rpcbind before doing NFS mounts +- cleanup +- added integration-test +- 3.3.145 + +-------------------------------------------------------------------- +Tue Jan 30 12:42:04 UTC 2018 - [email protected] + +- Translated using Weblate (Arabic) + +-------------------------------------------------------------------- +Tue Jan 30 10:01:09 UTC 2018 - [email protected] + +- merge gh#openSUSE/libstorage-ng#438 +- extended documentation +- 3.3.144 + +-------------------------------------------------------------------- +Tue Jan 30 09:15:51 UTC 2018 - [email protected] + +- merge gh#openSUSE/libstorage-ng#437 +- distinguish between mounted and unounted in supports_shrink/grow +- 3.3.143 + +-------------------------------------------------------------------- +Tue Jan 30 09:03:35 UTC 2018 - [email protected] + +- Translated using Weblate (Korean) + +-------------------------------------------------------------------- +Mon Jan 29 14:44:48 UTC 2018 - [email protected] + +- Fixed an Arabic format string typo +- 3.3.142 + +-------------------------------------------------------------------- +Sun Jan 28 14:05:16 UTC 2018 - [email protected] + +- Translated using Weblate (Arabic) +- 3.3.141 + +-------------------------------------------------------------------- Old: ---- libstorage-ng-3.3.140.tar.xz New: ---- libstorage-ng-3.3.145.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libstorage-ng.spec ++++++ --- /var/tmp/diff_new_pack.H5t4Iq/_old 2018-02-02 22:18:32.780340102 +0100 +++ /var/tmp/diff_new_pack.H5t4Iq/_new 2018-02-02 22:18:32.784339915 +0100 @@ -18,7 +18,7 @@ %define libname %{name}1 Name: libstorage-ng -Version: 3.3.140 +Version: 3.3.145 Release: 0 Summary: Library for storage management License: GPL-2.0 ++++++ libstorage-ng-3.3.140.tar.xz -> libstorage-ng-3.3.145.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/VERSION new/libstorage-ng-3.3.145/VERSION --- old/libstorage-ng-3.3.140/VERSION 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/VERSION 2018-01-30 13:51:10.000000000 +0100 @@ -1 +1 @@ -3.3.140 +3.3.145 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/doc/resize.md new/libstorage-ng-3.3.145/doc/resize.md --- old/libstorage-ng-3.3.140/doc/resize.md 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/doc/resize.md 2018-01-30 13:51:10.000000000 +0100 @@ -54,19 +54,26 @@ Filesystems ----------- -- ext2/3/4: shrink and grow. +- ext2/3/4: Shrink (unmounted) and grow (mounted and unmounted). See + resize2fs(8). -- btrfs: shrink and grow. +- btrfs: Shrink (mounted) and grow (mounted). See btrfs-filesystem(8). -- XFS: grow +- XFS: Grow (mounted). See xfs_growfs(8). -- reiserfs: shrink and grow +- reiserfs: Shrink (unmounted) and grow (mounted and unmounted). See + resize_reiserfs(8). -- NTFS: shrink and grow. +- NTFS: Shrink (unmounted) and grow (unmounted). See ntfsresize(8). -- VFAT: shrink and grow. +- VFAT: Unsupported due to bugs. -- swap: shrink and grow (only via recreate, involves data loss). +- swap: Shrink (unmounted) and grow (unmounted). This is done via recreate, + thus involves complete data loss. + +- ISO9660: Unsupported. + +- UDF: Unsupported. Using Resize Functionality diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/integration-tests/filesystems/space-info-mounted.py new/libstorage-ng-3.3.145/integration-tests/filesystems/space-info-mounted.py --- old/libstorage-ng-3.3.140/integration-tests/filesystems/space-info-mounted.py 1970-01-01 01:00:00.000000000 +0100 +++ new/libstorage-ng-3.3.145/integration-tests/filesystems/space-info-mounted.py 2018-01-30 13:51:10.000000000 +0100 @@ -0,0 +1,34 @@ +#!/usr/bin/python3 + +# requirements: something mounted at /test + + +from sys import exit +from storage import * +from storageitu import * + + +set_logger(get_logfile_logger()) + +environment = Environment(False) + +storage = Storage(environment) +storage.probe() + +staging = storage.get_staging() + +print(staging) + +mount_points = MountPoint.find_by_path(staging, "/test") + +if not mount_points.empty(): + + filesystem = mount_points[0].get_mountable().get_filesystem() + + space_info = filesystem.detect_space_info() + + print(space_info) + + print(byte_to_humanstring(space_info.size, False, 2, True)) + print(byte_to_humanstring(space_info.used, False, 2, True)) + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/integration-tests/filesystems/space-info-unmounted.py new/libstorage-ng-3.3.145/integration-tests/filesystems/space-info-unmounted.py --- old/libstorage-ng-3.3.140/integration-tests/filesystems/space-info-unmounted.py 1970-01-01 01:00:00.000000000 +0100 +++ new/libstorage-ng-3.3.145/integration-tests/filesystems/space-info-unmounted.py 2018-01-30 13:51:10.000000000 +0100 @@ -0,0 +1,26 @@ +#!/usr/bin/python3 + +from sys import exit +from storage import * + + +set_logger(get_logfile_logger()) + +environment = Environment(False) + +storage = Storage(environment) +storage.probe() + +staging = storage.get_staging() + +print(staging) + +nfs = Nfs.create(staging, "server", "/home/surfer") + +space_info = nfs.detect_space_info() + +print(space_info) + +print(byte_to_humanstring(space_info.size, False, 2, True)) +print(byte_to_humanstring(space_info.used, False, 2, True)) + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/integration-tests/filesystems/space-info.py new/libstorage-ng-3.3.145/integration-tests/filesystems/space-info.py --- old/libstorage-ng-3.3.140/integration-tests/filesystems/space-info.py 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/integration-tests/filesystems/space-info.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,34 +0,0 @@ -#!/usr/bin/python3 - -# requirements: something mounted at /test - - -from sys import exit -from storage import * -from storageitu import * - - -set_logger(get_logfile_logger()) - -environment = Environment(False) - -storage = Storage(environment) -storage.probe() - -staging = storage.get_staging() - -print(staging) - -mount_points = MountPoint.find_by_path(staging, "/test") - -if not mount_points.empty(): - - filesystem = mount_points[0].get_mountable().get_filesystem() - - space_info = filesystem.detect_space_info() - - print(space_info) - - print(byte_to_humanstring(space_info.size, False, 2, True)) - print(byte_to_humanstring(space_info.used, False, 2, True)) - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/po/ar.po new/libstorage-ng-3.3.145/po/ar.po --- old/libstorage-ng-3.3.140/po/ar.po 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/po/ar.po 2018-01-30 13:51:10.000000000 +0100 @@ -7,53 +7,50 @@ "Project-Id-Version: @PACKAGE@\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-09-12 20:00+0200\n" -"PO-Revision-Date: 2017-05-06 09:33+0000\n" -"Last-Translator: mohammad alhargan <[email protected]>\n" -"Language-Team: Arabic <https://l10n.opensuse.org/projects/libstorage/master/" -"ar/>\n" +"PO-Revision-Date: 2018-01-30 12:51+0000\n" +"Last-Translator: George Yacoub <[email protected]>\n" +"Language-Team: Arabic <https://l10n.opensuse.org/projects/libstorage/ng-" +"master/ar/>\n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" -"X-Generator: Weblate 2.6\n" +"X-Generator: Weblate 2.18\n" #. TRANSLATORS: displayed before action, #. %1$s is replaced by device name (e.g. /dev/sda1) #: ../storage/Devices/EncryptionImpl.cc:311 -#, fuzzy, c-format -#| msgid "Set up encrypted loop device on %1$s" +#, c-format msgid "Activate encryption layer device on %1$s" -msgstr "إعداد جهاز تسلسل مشفر على %1$s" +msgstr "تنشيط جهاز طبقة التشفير في %1$s" #. TRANSLATORS: displayed before action, #. %1$s is replaced by logical volume name (e.g. root), #. %2$s is replaced by size (e.g. 2GiB), #. %3$s is replaced by volume group name (e.g. system) #: ../storage/Devices/LvmLvImpl.cc:475 -#, fuzzy, c-format -#| msgid "Create logical volume %1$s (%2$s) for %4$s with %3$s" +#, c-format msgid "Activate logical volume %1$s (%2$s) on volume group %3$s" -msgstr "إنشاء وحدة التخزين المنطقية %1$s (%2$s) الخاصة بـ %4$s بـ %3$s" +msgstr "تنشيط وحدة التخزين المنطقية %1$s (%2$s) بمجموعة وحدات التخزين %3$s" #. TRANSLATORS: displayed during action, #. %1$s is replaced by device name (e.g. /dev/sda1) #: ../storage/Devices/EncryptionImpl.cc:314 -#, fuzzy, c-format -#| msgid "Setting up encrypted loop device on %1$s" +#, c-format msgid "Activating encryption layer device on %1$s" -msgstr "يتم الآن إعداد جهاز تسلسل مشفر على %1$s" +msgstr "يتم الآن تنشيط جهاز طبقة تشفير %1$s" #. TRANSLATORS: displayed during action, #. %1$s is replaced by logical volume name (e.g. root), #. %2$s is replaced by size (e.g. 2GiB), #. %3$s is replaced by volume group name (e.g. system) #: ../storage/Devices/LvmLvImpl.cc:480 -#, fuzzy, c-format -#| msgid "Formatting logical volume %1$s (%2$s) with %3$s" +#, c-format msgid "Activating logical volume %1$s (%2$s) on volume group %3$s" -msgstr "يتم الآن تهيئة وحدة التخزين المنطقية %1$s (%2$s) بـ %3$s" +msgstr "" +"يتم الآن تنشيط وحدة التخزين المنطقية %1$s (%2$s) في مجموعة وحدة التخزين %3$s" #. TRANSLATORS: displayed before action, #. %1$s is replaced by device name (e.g. /dev/sdd), @@ -62,33 +59,31 @@ #. %1$s is replaced by device name (e.g. /dev/sdd), #. %2$s is replaced by device name (e.g. /dev/md0) #: ../storage/Devices/LvmVgImpl.cc:466 ../storage/Devices/MdImpl.cc:899 -#, fuzzy, c-format -#| msgid "Extend %1$s to %2$s" +#, c-format msgid "Add %1$s to %2$s" -msgstr "تمديد %1$s إلى %2$s" +msgstr "إضافة %1$s إلى %2$s" #. TRANSLATORS: displayed before action, #. %1$s is replaced by md name (e.g. /dev/md0) #: ../storage/Devices/MdImpl.cc:824 #, c-format msgid "Add %1$s to /etc/mdadm.conf" -msgstr "" +msgstr "إضافة %1$s إلى /etc/mdadm.conf" #. TRANSLATORS: displayed before action, #. %1$s is replaced by device name (e.g. /dev/sda1) #: ../storage/Devices/EncryptionImpl.cc:341 #, c-format msgid "Add encryption layer device on %1$s to /etc/crypttab" -msgstr "" +msgstr "إضافة جهاز طبقة التشفير في %1$s إلى /etc/crypttab" #. TRANSLATORS: displayed before action, #. %1$s is replaced by mount point (e.g. /home), #. %2$s is replaced by device name (e.g. /dev/sda1) #: ../storage/Filesystems/MountableImpl.cc:253 -#, fuzzy, c-format -#| msgid "Add entry for mount point %1$s to %2$s" +#, c-format msgid "Add mount point %1$s of %2$s to /etc/fstab" -msgstr "إضافة إدخال لنقطة التوصيل %1$s إلى %2$s" +msgstr "إضافة نقطة التركيب %1$s من %2$s إلى /etc/fstab" #. TRANSLATORS: displayed before action, #. %1$s is replaced by mount point (e.g. /home), @@ -97,7 +92,7 @@ #: ../storage/Filesystems/BtrfsSubvolumeImpl.cc:477 #, c-format msgid "Add mount point %1$s of subvolume %2$s on %3$s to /etc/fstab" -msgstr "" +msgstr "إضافة نقطة توصيل %1$s لوحدة التخزين الفرعية %2$s في %3$s إلى /etc/fstab" #. TRANSLATORS: displayed during action, #. %1$s is replaced by device name (e.g. /dev/sdd), @@ -106,33 +101,31 @@ #. %1$s is replaced by device name (e.g. /dev/sdd), #. %2$s is replaced by device name (e.g. /dev/md0) #: ../storage/Devices/LvmVgImpl.cc:470 ../storage/Devices/MdImpl.cc:903 -#, fuzzy, c-format -#| msgid "Extending %1$s to %2$s" +#, c-format msgid "Adding %1$s to %2$s" -msgstr "يتم الآن تمديد %1$s إلى %2$s" +msgstr "تتم الآن إضافة %1$s إلى %2$s" #. TRANSLATORS: displayed during action, #. %1$s is replaced by md name (e.g. /dev/md0) #: ../storage/Devices/MdImpl.cc:827 #, c-format msgid "Adding %1$s to /etc/mdadm.conf" -msgstr "" +msgstr "تتم الآن إضافة %1$s إلى /etc/mdadm.conf" #. TRANSLATORS: displayed during action, #. %1$s is replaced by device name (e.g. /dev/sda1) #: ../storage/Devices/EncryptionImpl.cc:344 #, c-format msgid "Adding encryption layer device on %1$s to /etc/crypttab" -msgstr "" +msgstr "تتم الآن إضافة جهاز طبقة التشفير في %1$s إلى /etc/crypttab" #. TRANSLATORS: displayed during action, #. %1$s is replaced by mount point (e.g. /home), #. %2$s is replaced by device name (e.g. /dev/sda1) #: ../storage/Filesystems/MountableImpl.cc:257 -#, fuzzy, c-format -#| msgid "Adding entry for mount point %1$s to %2$s" +#, c-format msgid "Adding mount point %1$s of %2$s to /etc/fstab" -msgstr "يتم الآن إضافة إدخال لنقطة التوصيل %1$s إلى %2$s" +msgstr "تتم الآن إضافة نقطة التركيب %1$s من %2$s إلى /etc/fstab" #. TRANSLATORS: displayed during action, #. %1$s is replaced by mount point (e.g. /home), @@ -142,6 +135,8 @@ #, c-format msgid "Adding mount point %1$s of subvolume %2$s on %3$s to /etc/fstab" msgstr "" +"تتم الآن إضافة نقطة تركيب %1$s لوحدة التخزين الفرعية %2$s في %3$s إلى " +"/etc/fstab" #. TRANSLATORS: symbol for "bytes" (best keep untranslated) #: ../storage/Utils/HumanString.cc:54 @@ -151,50 +146,45 @@ #. TRANSLATORS: displayed before action, #. %1$s is replaced by partition name (e.g. /dev/sda1) #: ../storage/Devices/PartitionImpl.cc:769 -#, fuzzy, c-format -#| msgid "Creating RAID partition %1$s" +#, c-format msgid "Clear boot flag of partition %1$s" -msgstr "يتم الآن إنشاء قسم الغارة %1$s" +msgstr "مسح علامة تشغيل القسم %1$s" #. TRANSLATORS: displayed before action, #. %1$s is replaced by partition name (e.g. /dev/sda1) #: ../storage/Devices/PartitionImpl.cc:810 -#, fuzzy, c-format -#| msgid "Creating RAID partition %1$s" +#, c-format msgid "Clear legacy boot flag of partition %1$s" -msgstr "يتم الآن إنشاء قسم الغارة %1$s" +msgstr "مسح علامة التشغيل القديمة للقسم %1$s" #. TRANSLATORS: displayed before action, #. %1$s is replaced by subvolume path (e.g. var/log), #. %2$s is replaced by block device name (e.g. /dev/sda1) #: ../storage/Filesystems/BtrfsSubvolumeImpl.cc:527 -#, fuzzy, c-format -#| msgid "Creating subvolume %1$s on device %2$s" +#, c-format msgid "Clear option 'no copy on write' for subvolume %1$s on %2$s" -msgstr "يتم الآن إنشاء حجم فرعي %1$s على الجهاز %2$s" +msgstr "مسح الخيار \"عدم النسخ عند الكتابة\" لوحدة التخزين الفرعية %1$s في %2$s" #. TRANSLATORS: displayed before action, #. %1$s is replaced by device name (e.g. /dev/sda) #: ../storage/Devices/GptImpl.cc:245 #, c-format msgid "Clear protective MBR boot flag of GPT on %1$s" -msgstr "" +msgstr "مسح علامة تشغيل MBR للحماية في GPT على %1$s" #. TRANSLATORS: displayed during action, #. %1$s is replaced by partition name (e.g. /dev/sda1) #: ../storage/Devices/PartitionImpl.cc:772 -#, fuzzy, c-format -#| msgid "Creating multipath partition %1$s" +#, c-format msgid "Clearing boot flag of partition %1$s" -msgstr "يتم الآن إنشاء قسم متعدد المسارات %1$s" +msgstr "يتم الآن مسح علامة تشغيل القسم %1$s" #. TRANSLATORS: displayed during action, #. %1$s is replaced by partition name (e.g. /dev/sda1) #: ../storage/Devices/PartitionImpl.cc:813 -#, fuzzy, c-format -#| msgid "Creating multipath partition %1$s" +#, c-format msgid "Clearing legacy boot flag of partition %1$s" -msgstr "يتم الآن إنشاء قسم متعدد المسارات %1$s" +msgstr "يتم الآن مسح علامة التشغيل القديمة للقسم %1$s" #. TRANSLATORS: displayed during action, #. %1$s is replaced by subvolume path (e.g. var/log), @@ -203,65 +193,61 @@ #, c-format msgid "Clearing option 'no copy on write' for subvolume %1$s on %2$s" msgstr "" +"يتم الآن مسح الخيار \"عدم النسخ عند الكتابة\" لوحدة التخزين الفرعية %1$s على " +"%2$s" #. TRANSLATORS: displayed during action, #. %1$s is replaced by device name (e.g. /dev/sda) #: ../storage/Devices/GptImpl.cc:248 #, c-format msgid "Clearing protective MBR boot flag of GPT on %1$s" -msgstr "" +msgstr "يتم الآن مسح علامة تشغيل MBR للحماية في GPT على %1$s" #. TRANSLATORS: displayed before action, #. %1$s is replaced by filesystem name (e.g. ext4), #. %2$s is replaced by device name (e.g. /dev/sda1), #. %3$s is replaced by size (e.g. 2GiB) #: ../storage/Filesystems/BlkFilesystemImpl.cc:503 -#, fuzzy, c-format -#| msgid "Create swap volume %1$s (%2$s)" +#, c-format msgid "Create %1$s on %2$s (%3$s)" -msgstr "إنشاء حجم مبادلة %1$s (%2$s)" +msgstr "إنشاء %1$s 1 على %2$s 2 (%3$s 3)" #. TRANSLATORS: displayed before action, #. %1$s is replaced by device name (e.g. /dev/sda) #: ../storage/Devices/DasdPtImpl.cc:212 -#, fuzzy, c-format -#| msgid "Creating RAID partition %1$s" +#, c-format msgid "Create DASD partition table on %1$s" -msgstr "يتم الآن إنشاء قسم الغارة %1$s" +msgstr "إنشاء حدول قسم DASD على %1$s" #. TRANSLATORS: displayed before action, #. %1$s is replaced by device name (e.g. /dev/sda) #: ../storage/Devices/GptImpl.cc:201 -#, fuzzy, c-format -#| msgid "Create %1$s" +#, c-format msgid "Create GPT on %1$s" -msgstr "إنشاء %1$s" +msgstr "إنشاء GPT على %1$s" #. TRANSLATORS: displayed before action, #. %1$s is replaced by RAID level (e.g. RAID0), #. %2$s is replaced by RAID name (e.g. /dev/md0), #. %3$s is replaced by size (e.g. 2GiB) #: ../storage/Devices/MdImpl.cc:720 -#, fuzzy, c-format -#| msgid "Create volume %1$s (%2$s)" +#, c-format msgid "Create MD %1$s %2$s (%3$s)" -msgstr "إنشاء حجم %1$s (%2$s)" +msgstr "إنشاء MD %1$s %2$s (%3$s)" #. TRANSLATORS: displayed before action, #. %1$s is replaced by device name (e.g. /dev/sda) #: ../storage/Devices/MsdosImpl.cc:276 -#, fuzzy, c-format -#| msgid "Creating RAID partition %1$s" +#, c-format msgid "Create MSDOS partition table on %1$s" -msgstr "يتم الآن إنشاء قسم الغارة %1$s" +msgstr "إنشاء جدول لقسم MSDOS على %1$s" #. TRANSLATORS: displayed before action, #. %1$s is replaced by device name (e.g. /dev/sda1) #: ../storage/Devices/EncryptionImpl.cc:233 -#, fuzzy, c-format -#| msgid "Set up encrypted loop device on %1$s" +#, c-format msgid "Create encryption layer device on %1$s" -msgstr "إعداد جهاز تسلسل مشفر على %1$s" +msgstr "إنشاء جهاز طبقة تشفير على %1$s" #. TRANSLATORS: displayed before action, #. %1$s is replaced by partition name (e.g. /dev/sda1), @@ -269,156 +255,141 @@ #: ../storage/Devices/PartitionImpl.cc:538 #, c-format msgid "Create extended partition %1$s (%2$s)" -msgstr "إنشاء قسم موسع %1$s (%2$s)" +msgstr "إنشاء قسم موسع %1$s (%2$s)" #: ../storage/Devices/DiskImpl.cc:227 -#, fuzzy, c-format -#| msgid "Create swap volume %1$s (%2$s)" +#, c-format msgid "Create hard disk %1$s (%2$s)" -msgstr "إنشاء حجم مبادلة %1$s (%2$s)" +msgstr "إنشاء قرص صلب %1$s (%2$s)" #. TRANSLATORS: displayed before action, #. %1$s is replaced by partition name (e.g. /dev/sda1), #. %2$s is replaced by size (e.g. 2GiB) #: ../storage/Devices/PartitionImpl.cc:550 -#, fuzzy, c-format -#| msgid "Create multipath partition %1$s (%2$s)" +#, c-format msgid "Create logical partition %1$s (%2$s)" -msgstr "إنشاء قسم متعدد المسارات %1$s (%2$s)" +msgstr "إنشاء القسم المنطقي %1$s (%2$s)" #. TRANSLATORS: displayed before action, #. %1$s is replaced by logical volume name (e.g. root), #. %2$s is replaced by size (e.g. 2GiB), #. %3$s is replaced by volume group name (e.g. system) #: ../storage/Devices/LvmLvImpl.cc:298 -#, fuzzy, c-format -#| msgid "Create logical volume %1$s (%2$s) for %4$s with %3$s" +#, c-format msgid "Create logical volume %1$s (%2$s) on volume group %3$s" -msgstr "إنشاء وحدة التخزين المنطقية %1$s (%2$s) الخاصة بـ %4$s بـ %3$s" +msgstr "إنشاء وحدة التخزين المنطقية %1$s (%2$s) بمجموعة وحدات التخزين %3$s" #. TRANSLATORS: displayed before action, #. %1$s is replaced by partition name (e.g. /dev/sda1), #. %2$s is replaced by size (e.g. 2GiB) #: ../storage/Devices/PartitionImpl.cc:511 -#, fuzzy, c-format -#| msgid "Create RAID partition %1$s (%2$s)" +#, c-format msgid "Create partition %1$s (%2$s)" -msgstr "إنشاء قسم الغارة %1$s (%2$s)" +msgstr "إنشاء القسم %1$s (%2$s)" #. TRANSLATORS: displayed before action, #. %1$s is replaced by device name (e.g. /dev/sda1) #: ../storage/Devices/LvmPvImpl.cc:249 -#, fuzzy, c-format -#| msgid "Creating logical volume %1$s" +#, c-format msgid "Create physical volume on %1$s" -msgstr "يتم الآن إنشاء حجم منطقي %1$s" +msgstr "إنشاء وحدة نخزين فعلية %1$s" #. TRANSLATORS: displayed before action, #. %1$s is replaced by partition name (e.g. /dev/sda1), #. %2$s is replaced by size (e.g. 2GiB) #: ../storage/Devices/PartitionImpl.cc:526 -#, fuzzy, c-format -#| msgid "Create RAID partition %1$s (%2$s)" +#, c-format msgid "Create primary partition %1$s (%2$s)" -msgstr "إنشاء قسم الغارة %1$s (%2$s)" +msgstr "إنشاء القسم الأساسي %1$s (%2$s)" #. TRANSLATORS: displayed before action, #. %1$s is replaced by subvolume path (e.g. var/log), #. %2$s is replaced by block device name (e.g. /dev/sda1) #: ../storage/Filesystems/BtrfsSubvolumeImpl.cc:389 -#, fuzzy, c-format -#| msgid "Create subvolume %1$s on device %2$s" +#, c-format msgid "Create subvolume %1$s on %2$s" -msgstr "إنشاء حجم فرعي %1$s على الجهاز %2$s" +msgstr "إنشاء وحدة التخزين الفرعية %1$s على %2$s" #. TRANSLATORS: displayed before action, #. %1$s is replaced by volume group name (e.g. system), #. %2$s is replaced by size (e.g. 2GiB) #: ../storage/Devices/LvmVgImpl.cc:386 -#, fuzzy, c-format -#| msgid "Create volume %1$s (%2$s)" +#, c-format msgid "Create volume group %1$s (%2$s)" -msgstr "إنشاء حجم %1$s (%2$s)" +msgstr "إنشاء مجموعة وحدات تخزين %1$s (%2$s)" #. TRANSLATORS: displayed during action, #. %1$s is replaced by filesystem name (e.g. ext4), #. %2$s is replaced by device name (e.g. /dev/sda1), #. %3$s is replaced by size (e.g. 2GiB) #: ../storage/Filesystems/BlkFilesystemImpl.cc:508 -#, fuzzy, c-format -#| msgid "Set type of partition %1$s to %2$s (%3$X)" +#, c-format msgid "Creating %1$s on %2$s (%3$s)" -msgstr "تعيين نوع القسم %1$s إلى %2$s (%3$X)" +msgstr "يتم الآن إنشاء %1$s على %2$s (%3$s)" #. TRANSLATORS: displayed during action, #. %1$s is replaced by device name (e.g. /dev/sda) #: ../storage/Devices/DasdPtImpl.cc:215 -#, fuzzy, c-format -#| msgid "Creating RAID partition %1$s" +#, c-format msgid "Creating DASD partition table on %1$s" -msgstr "يتم الآن إنشاء قسم الغارة %1$s" +msgstr "يتم الآن إنشاء جدول لقسم DASD على %1$s" #. TRANSLATORS: displayed during action, #. %1$s is replaced by device name (e.g. /dev/sda) #: ../storage/Devices/GptImpl.cc:204 -#, fuzzy, c-format -#| msgid "Creating %1$s" +#, c-format msgid "Creating GPT on %1$s" -msgstr "يتم الآن إنشاء %1$s" +msgstr "يتم الآن إنشاء GPT على %1$s" #. TRANSLATORS: displayed during action, #. %1$s is replaced by RAID level (e.g. RAID0), #. %2$s is replaced by RAID name (e.g. /dev/md0), #. %3$s is replaced by size (e.g. 2GiB) #: ../storage/Devices/MdImpl.cc:725 -#, fuzzy, c-format -#| msgid "Creating volume group %1$s (%2$s) from %3$s" +#, c-format msgid "Creating MD %1$s %2$s (%3$s)" -msgstr "يتم الآن إنشاء مجموعة الحجم %1$s (%2$s) من %3$s" +msgstr "يتم الآن إنشاء MD %1$s %2$s (%3$s)" #. TRANSLATORS: displayed during action, #. %1$s is replaced by device name (e.g. /dev/sda) #: ../storage/Devices/MsdosImpl.cc:279 -#, fuzzy, c-format -#| msgid "Creating RAID partition %1$s" +#, c-format msgid "Creating MSDOS partition table on %1$s" -msgstr "يتم الآن إنشاء قسم الغارة %1$s" +msgstr "يتم الآن إنشاء جدول للقسم MSDOS على %1$s" #. TRANSLATORS: displayed during action, #. %1$s is replaced by device name (e.g. /dev/sda1) #: ../storage/Devices/EncryptionImpl.cc:236 -#, fuzzy, c-format -#| msgid "Setting up encrypted loop device on %1$s" +#, c-format msgid "Creating encryption layer device on %1$s" -msgstr "يتم الآن إعداد جهاز تسلسل مشفر على %1$s" +msgstr "يتم الآن إعداد جهاز طبقة التشفير على %1$s" #. TRANSLATORS: displayed during action, #. %1$s is replaced by partition name (e.g. /dev/sda1), #. %2$s is replaced by size (e.g. 2GiB) #: ../storage/Devices/PartitionImpl.cc:542 -#, fuzzy, c-format -#| msgid "Create extended partition %1$s (%2$s)" +#, c-format msgid "Creating extended partition %1$s (%2$s)" -msgstr "إنشاء قسم موسع %1$s (%2$s)" +msgstr "يتم الآن إنشاء قسم موسع %1$s (%2$s)" #. TRANSLATORS: displayed during action, #. %1$s is replaced by partition name (e.g. /dev/sda1), #. %2$s is replaced by size (e.g. 2GiB) #: ../storage/Devices/PartitionImpl.cc:554 -#, fuzzy, c-format -#| msgid "Create multipath partition %1$s (%2$s)" +#, c-format msgid "Creating logical partition %1$s (%2$s)" -msgstr "إنشاء قسم متعدد المسارات %1$s (%2$s)" +msgstr "يتم الآن إنشاء قسم منطقي %1$s (%2$s)" #. TRANSLATORS: displayed during action, #. %1$s is replaced by logical volume name (e.g. root), #. %2$s is replaced by size (e.g. 2GiB), #. %3$s is replaced by volume group name (e.g. system) #: ../storage/Devices/LvmLvImpl.cc:303 -#, fuzzy, c-format -#| msgid "Create logical volume %1$s (%2$s) for %4$s with %3$s" +#, c-format msgid "Creating logical volume %1$s (%2$s) on volume group %3$s" -msgstr "إنشاء وحدة التخزين المنطقية %1$s (%2$s) الخاصة بـ %4$s بـ %3$s" +msgstr "" +"يتم الآن إنشاء وحدة التخزين المنطقية %1$s (%2$s) في مجموعة وحدات التخزين " +"%3$s" #. TRANSLATORS: displayed during action, #. %1$s is replaced by partition name (e.g. /dev/sda1), @@ -606,7 +577,7 @@ #: ../storage/Devices/PartitionImpl.cc:841 #, c-format msgid "Delete partition %1$s (%2$s)" -msgstr "حذف قسم %1$s (%2$s)" +msgstr "حذف قسم %1$s (%2$s)" #. TRANSLATORS: displayed before action, #. %1$s is replaced by device name (e.g. /dev/sda1) @@ -754,12 +725,12 @@ #. TRANSLATORS: symbol for "giga bytes" (best keep untranslated) #: ../storage/Utils/HumanString.cc:86 msgid "GB" -msgstr "غيغابايت" +msgstr "GB" #. TRANSLATORS: symbol for "gibi bytes" (best keep untranslated) #: ../storage/Utils/HumanString.cc:83 msgid "GiB" -msgstr "ج.ب" +msgstr "GiB" #. TRANSLATORS: displayed before action, #. %1$s is replaced by filesystem (e.g. ext4), @@ -868,7 +839,7 @@ #. TRANSLATORS: symbol for "kibi bytes" (best keep untranslated) #: ../storage/Utils/HumanString.cc:61 msgid "KiB" -msgstr "كيبي بايت" +msgstr "KiB" #. TRANSLATORS: symbol for "mega" (best keep untranslated) #: ../storage/Utils/HumanString.cc:78 @@ -878,12 +849,12 @@ #. TRANSLATORS: symbol for "mega bytes" (best keep untranslated) #: ../storage/Utils/HumanString.cc:75 msgid "MB" -msgstr "ميغابايت" +msgstr "MB" #. TRANSLATORS: symbol for "mebi bytes" (best keep untranslated) #: ../storage/Utils/HumanString.cc:72 msgid "MiB" -msgstr "ميبي بايت" +msgstr "MiB" #. TRANSLATORS: displayed before action, #. %1$s is replaced by device name (e.g. /dev/sda1), @@ -1353,12 +1324,12 @@ #. TRANSLATORS: symbol for "tera bytes" (best keep untranslated) #: ../storage/Utils/HumanString.cc:97 msgid "TB" -msgstr "تيرا بايت" +msgstr "TB" #. TRANSLATORS: symbol for "tebi bytes" (best keep untranslated) #: ../storage/Utils/HumanString.cc:94 msgid "TiB" -msgstr "تيبي بايت" +msgstr "TiB" #. TRANSLATORS: displayed before action, #. %1$s is replaced by device name (e.g. /dev/sda1), @@ -1429,4 +1400,4 @@ #. TRANSLATORS: symbol for "kilo bytes" (best keep untranslated) #: ../storage/Utils/HumanString.cc:64 msgid "kB" -msgstr "كيلو بايت" +msgstr "kB" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/po/ko.po new/libstorage-ng-3.3.145/po/ko.po --- old/libstorage-ng-3.3.140/po/ko.po 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/po/ko.po 2018-01-30 13:51:10.000000000 +0100 @@ -9,16 +9,16 @@ "Project-Id-Version: libstorage.ko\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-09-12 20:00+0200\n" -"PO-Revision-Date: 2016-04-25 09:23+0000\n" -"Last-Translator: YunSeok Choi <[email protected]>\n" -"Language-Team: Korean <http://l10n.opensuse.org/projects/libstorage/master/" -"ko/>\n" +"PO-Revision-Date: 2018-01-30 09:15+0000\n" +"Last-Translator: Hwajin Kim <[email protected]>\n" +"Language-Team: Korean <https://l10n.opensuse.org/projects/libstorage/ng-" +"master/ko/>\n" "Language: ko\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 2.5\n" +"X-Generator: Weblate 2.18\n" "X-Poedit-Language: Korean\n" "X-Poedit-Country: KOREA, REPUBLIC OF\n" "X-Poedit-SourceCharset: utf-8\n" @@ -76,14 +76,14 @@ #: ../storage/Devices/MdImpl.cc:824 #, c-format msgid "Add %1$s to /etc/mdadm.conf" -msgstr "" +msgstr "/etc/mdadm.conf에 %1$s 추가" #. TRANSLATORS: displayed before action, #. %1$s is replaced by device name (e.g. /dev/sda1) #: ../storage/Devices/EncryptionImpl.cc:341 #, c-format msgid "Add encryption layer device on %1$s to /etc/crypttab" -msgstr "" +msgstr "/etc/crypttab에 %1$s의 암호화 계층 장치 추가" #. TRANSLATORS: displayed before action, #. %1$s is replaced by mount point (e.g. /home), @@ -101,7 +101,7 @@ #: ../storage/Filesystems/BtrfsSubvolumeImpl.cc:477 #, c-format msgid "Add mount point %1$s of subvolume %2$s on %3$s to /etc/fstab" -msgstr "" +msgstr "/etc/fstab에 %3$s에 있는 %2$s 하위 볼륨의 마운트 포인트 %1$s 추가" #. TRANSLATORS: displayed during action, #. %1$s is replaced by device name (e.g. /dev/sdd), @@ -120,14 +120,14 @@ #: ../storage/Devices/MdImpl.cc:827 #, c-format msgid "Adding %1$s to /etc/mdadm.conf" -msgstr "" +msgstr "/etc/mdadm.conf에 %1$s 추가 중" #. TRANSLATORS: displayed during action, #. %1$s is replaced by device name (e.g. /dev/sda1) #: ../storage/Devices/EncryptionImpl.cc:344 #, c-format msgid "Adding encryption layer device on %1$s to /etc/crypttab" -msgstr "" +msgstr "/etc/crypttab에 %1$s의 암호화 계층 장치 추가 중" #. TRANSLATORS: displayed during action, #. %1$s is replaced by mount point (e.g. /home), @@ -145,7 +145,7 @@ #: ../storage/Filesystems/BtrfsSubvolumeImpl.cc:482 #, c-format msgid "Adding mount point %1$s of subvolume %2$s on %3$s to /etc/fstab" -msgstr "" +msgstr "/etc/fstab에 %3$s에 있는 %2$s 하위 볼륨의 마운트 포인트 %1$s 추가 중" # 10^3 bytes #. TRANSLATORS: symbol for "bytes" (best keep untranslated) @@ -186,7 +186,7 @@ #: ../storage/Devices/GptImpl.cc:245 #, c-format msgid "Clear protective MBR boot flag of GPT on %1$s" -msgstr "" +msgstr "%1$s에서 GPT의 보호 부팅 플래그 지우기" #. TRANSLATORS: displayed during action, #. %1$s is replaced by partition name (e.g. /dev/sda1) @@ -210,14 +210,14 @@ #: ../storage/Filesystems/BtrfsSubvolumeImpl.cc:531 #, c-format msgid "Clearing option 'no copy on write' for subvolume %1$s on %2$s" -msgstr "" +msgstr "%2$s에서 %1$s 하위 볼륨에 대한 'no copy on write' 옵션 지우는 중" #. TRANSLATORS: displayed during action, #. %1$s is replaced by device name (e.g. /dev/sda) #: ../storage/Devices/GptImpl.cc:248 #, c-format msgid "Clearing protective MBR boot flag of GPT on %1$s" -msgstr "" +msgstr "%1$s에서 GPT의 보호 MBR 부팅 플래그 지우는 중" # SLE12 #. TRANSLATORS: displayed before action, @@ -1034,7 +1034,7 @@ #: ../storage/Devices/EncryptionImpl.cc:391 #, c-format msgid "Remove encryption layer device on %1$s from /etc/crypttab" -msgstr "" +msgstr "/etc/crypttab에서 %1$s의 암호화 계층 장치 제거" #. TRANSLATORS: displayed before action, #. %1$s is replaced by mount point (e.g. /home), @@ -1052,7 +1052,7 @@ #: ../storage/Filesystems/BtrfsSubvolumeImpl.cc:496 #, c-format msgid "Remove mount point %1$s of subvolume %2$s on %3$s from /etc/fstab" -msgstr "" +msgstr "/etc/fstab에서 %3$s에 있는 %2$s 하위 볼륨의 마운트 포인트 %1$s 제거" #. TRANSLATORS: displayed during action, #. %1$s is replaced by device name (e.g. /dev/sdd), @@ -1071,14 +1071,14 @@ #: ../storage/Devices/MdImpl.cc:858 #, c-format msgid "Removing %1$s from /etc/mdadm.conf" -msgstr "" +msgstr "/etc/mdadm.conf에서 %1$s 제거 중" #. TRANSLATORS: displayed during action, #. %1$s is replaced by device name (e.g. /dev/sda1) #: ../storage/Devices/EncryptionImpl.cc:394 #, c-format msgid "Removing encryption layer device on %1$s from /etc/crypttab" -msgstr "" +msgstr "/etc/crypttab에서 %1$s의 암호화 계층 장치 제거 중" #. TRANSLATORS: displayed during action, #. %1$s is replaced by mount point (e.g. /home), @@ -1111,7 +1111,7 @@ #: ../storage/Devices/EncryptionImpl.cc:367 #, c-format msgid "Rename encryption layer device from %1$s to %2$s in /etc/crypttab" -msgstr "" +msgstr "/etc/crypttab에서 암호화 계층 장치 이름을 %1$s에서 %2$s(으)로 바꾸기" #. TRANSLATORS: displayed before action, #. %1$s is replaced by mount point (e.g. /home), @@ -1129,7 +1129,7 @@ #: ../storage/Devices/EncryptionImpl.cc:371 #, c-format msgid "Renaming encryption layer device from %1$s to %2$s in /etc/crypttab" -msgstr "" +msgstr "/etc/crypttab에서 암호화 계층 장치 이름을 %1$s에서 %2$s(으)로 바꾸는 중" #. TRANSLATORS: displayed during action, #. %1$s is replaced by mount point (e.g. /home), @@ -1220,14 +1220,14 @@ #: ../storage/Filesystems/BtrfsSubvolumeImpl.cc:517 #, c-format msgid "Set option 'no copy on write' for subvolume %1$s on %2$s" -msgstr "" +msgstr "%2$s에서 %1$s 하위 볼륨에 대해 'no copy on write' 옵션 설정" #. TRANSLATORS: displayed before action, #. %1$s is replaced by device name (e.g. /dev/sda) #: ../storage/Devices/GptImpl.cc:237 #, c-format msgid "Set protective MBR boot flag of GPT on %1$s" -msgstr "" +msgstr "%1$s에서 GPT의 보호 MBR 부팅 플래그 설정" #. TRANSLATORS: displayed during action, #. %1$s is replaced by device name (e.g. /dev/sda1), @@ -1308,14 +1308,14 @@ #: ../storage/Filesystems/BtrfsSubvolumeImpl.cc:521 #, c-format msgid "Setting option 'no copy on write' for subvolume %1$s on %2$s" -msgstr "" +msgstr "%2$s에서 %1$s 하위 볼륨에 대해 'no copy on write' 옵션 설정" #. TRANSLATORS: displayed during action, #. %1$s is replaced by device name (e.g. /dev/sda) #: ../storage/Devices/GptImpl.cc:240 #, c-format msgid "Setting protective MBR boot flag of GPT on %1$s" -msgstr "" +msgstr "%1$s에서 GPT의 보호 MBR 부팅 플래그 설정 중" #. TRANSLATORS: displayed before action, #. %1$s is replaced by filesystem (e.g. ext4), @@ -1500,7 +1500,7 @@ #. TRANSLATORS: first snapshot description #: ../storage/Utils/SnapperConfig.cc:58 msgid "first root filesystem" -msgstr "" +msgstr "첫 번째 루트 파일 시스템" # 10^3 bytes #. TRANSLATORS: symbol for "kilo" (best keep untranslated) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/storage/Filesystems/BlkFilesystemImpl.h new/libstorage-ng-3.3.145/storage/Filesystems/BlkFilesystemImpl.h --- old/libstorage-ng-3.3.140/storage/Filesystems/BlkFilesystemImpl.h 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/storage/Filesystems/BlkFilesystemImpl.h 2018-01-30 13:51:10.000000000 +0100 @@ -52,8 +52,14 @@ virtual unsigned long long min_size() const = 0; virtual unsigned long long max_size() const = 0; - virtual bool supports_shrink() const = 0; - virtual bool supports_grow() const = 0; + bool supports_shrink() const { return supports_mounted_shrink() || supports_unmounted_shrink(); } + bool supports_grow() const { return supports_mounted_grow() || supports_unmounted_grow(); } + + virtual bool supports_mounted_shrink() const = 0; + virtual bool supports_mounted_grow() const = 0; + + virtual bool supports_unmounted_shrink() const = 0; + virtual bool supports_unmounted_grow() const = 0; virtual bool supports_label() const = 0; virtual unsigned int max_labelsize() const = 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/storage/Filesystems/BtrfsImpl.h new/libstorage-ng-3.3.145/storage/Filesystems/BtrfsImpl.h --- old/libstorage-ng-3.3.140/storage/Filesystems/BtrfsImpl.h 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/storage/Filesystems/BtrfsImpl.h 2018-01-30 13:51:10.000000000 +0100 @@ -49,8 +49,11 @@ virtual unsigned long long min_size() const override { return 256 * MiB; } virtual unsigned long long max_size() const override { return 16 * EiB - 1 * B; } - virtual bool supports_shrink() const override { return true; } - virtual bool supports_grow() const override { return true; } + virtual bool supports_mounted_shrink() const override { return true; } + virtual bool supports_mounted_grow() const override { return true; } + + virtual bool supports_unmounted_shrink() const override { return false; } + virtual bool supports_unmounted_grow() const override { return false; } virtual bool supports_label() const override { return true; } virtual unsigned int max_labelsize() const override { return 256; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/storage/Filesystems/ExtImpl.h new/libstorage-ng-3.3.145/storage/Filesystems/ExtImpl.h --- old/libstorage-ng-3.3.140/storage/Filesystems/ExtImpl.h 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/storage/Filesystems/ExtImpl.h 2018-01-30 13:51:10.000000000 +0100 @@ -43,8 +43,11 @@ public: - virtual bool supports_shrink() const override { return true; } - virtual bool supports_grow() const override { return true; } + virtual bool supports_mounted_shrink() const override { return false; } + virtual bool supports_mounted_grow() const override { return true; } + + virtual bool supports_unmounted_shrink() const override { return true; } + virtual bool supports_unmounted_grow() const override { return true; } virtual bool supports_label() const override { return true; } virtual unsigned int max_labelsize() const override { return 16; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/storage/Filesystems/Iso9660Impl.h new/libstorage-ng-3.3.145/storage/Filesystems/Iso9660Impl.h --- old/libstorage-ng-3.3.140/storage/Filesystems/Iso9660Impl.h 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/storage/Filesystems/Iso9660Impl.h 2018-01-30 13:51:10.000000000 +0100 @@ -46,8 +46,11 @@ virtual unsigned long long min_size() const override { return 0 * B; } virtual unsigned long long max_size() const override { return 2 * TiB; } - virtual bool supports_shrink() const override { return false; } - virtual bool supports_grow() const override { return false; } + virtual bool supports_mounted_shrink() const override { return false; } + virtual bool supports_mounted_grow() const override { return false; } + + virtual bool supports_unmounted_shrink() const override { return false; } + virtual bool supports_unmounted_grow() const override { return false; } virtual bool supports_label() const override { return true; } virtual unsigned int max_labelsize() const override { return 30; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/storage/Filesystems/MountableImpl.cc new/libstorage-ng-3.3.145/storage/Filesystems/MountableImpl.cc --- old/libstorage-ng-3.3.140/storage/Filesystems/MountableImpl.cc 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/storage/Filesystems/MountableImpl.cc 2018-01-30 13:51:10.000000000 +0100 @@ -197,6 +197,8 @@ createPath(real_mount_point); } + do_pre_mount(); + string cmd_line = MOUNTBIN " -t " + toString(get_mount_type()); if (!mount_point->get_mount_options().empty()) { MountOpts mount_opts = mount_point->get_impl().get_mount_options(); @@ -405,6 +407,7 @@ const Storage* storage = mountable->get_impl().get_storage(); + mountable->get_impl().do_pre_mount(); mountable->get_impl().wait_for_devices(); tmp_mount.reset(new TmpMount(storage->get_impl().get_tmp_dir().get_fullname(), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/storage/Filesystems/MountableImpl.h new/libstorage-ng-3.3.145/storage/Filesystems/MountableImpl.h --- old/libstorage-ng-3.3.140/storage/Filesystems/MountableImpl.h 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/storage/Filesystems/MountableImpl.h 2018-01-30 13:51:10.000000000 +0100 @@ -116,6 +116,8 @@ */ virtual vector<const FstabEntry*> find_proc_mounts_entries(SystemInfo& system_info, const vector<string>& names) const; + virtual void do_pre_mount() const {} + virtual Text do_mount_text(const MountPoint* mount_point, Tense tense) const; virtual void do_mount(CommitData& commit_data, const CommitOptions& commit_options, const MountPoint* mount_point) const; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/storage/Filesystems/NfsImpl.cc new/libstorage-ng-3.3.145/storage/Filesystems/NfsImpl.cc --- old/libstorage-ng-3.3.140/storage/Filesystems/NfsImpl.cc 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/storage/Filesystems/NfsImpl.cc 2018-01-30 13:51:10.000000000 +0100 @@ -239,4 +239,20 @@ actiongraph.add_chain(actions); } + + void + Nfs::Impl::do_pre_mount() const + { + // rpcbind might be needed for remote locking + + static bool rpcbind_started = false; + + if (rpcbind_started) + return; + + SystemCmd cmd(RPCBINDBIN); + + rpcbind_started = true; + } + } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/storage/Filesystems/NfsImpl.h new/libstorage-ng-3.3.145/storage/Filesystems/NfsImpl.h --- old/libstorage-ng-3.3.140/storage/Filesystems/NfsImpl.h 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/storage/Filesystems/NfsImpl.h 2018-01-30 13:51:10.000000000 +0100 @@ -79,6 +79,8 @@ virtual void add_create_actions(Actiongraph::Impl& actiongraph) const override; virtual void add_delete_actions(Actiongraph::Impl& actiongraph) const override; + virtual void do_pre_mount() const override; + protected: void save(xmlNode* node) const override; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/storage/Filesystems/NtfsImpl.h new/libstorage-ng-3.3.145/storage/Filesystems/NtfsImpl.h --- old/libstorage-ng-3.3.140/storage/Filesystems/NtfsImpl.h 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/storage/Filesystems/NtfsImpl.h 2018-01-30 13:51:10.000000000 +0100 @@ -47,8 +47,11 @@ virtual unsigned long long min_size() const override { return 1 * MiB; } virtual unsigned long long max_size() const override { return 256 * TiB - 64 * KiB; } - virtual bool supports_shrink() const override { return true; } - virtual bool supports_grow() const override { return true; } + virtual bool supports_mounted_shrink() const override { return false; } + virtual bool supports_mounted_grow() const override { return false; } + + virtual bool supports_unmounted_shrink() const override { return true; } + virtual bool supports_unmounted_grow() const override { return true; } virtual bool supports_label() const override { return true; } virtual unsigned int max_labelsize() const override { return 128; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/storage/Filesystems/ReiserfsImpl.h new/libstorage-ng-3.3.145/storage/Filesystems/ReiserfsImpl.h --- old/libstorage-ng-3.3.140/storage/Filesystems/ReiserfsImpl.h 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/storage/Filesystems/ReiserfsImpl.h 2018-01-30 13:51:10.000000000 +0100 @@ -46,8 +46,11 @@ virtual unsigned long long min_size() const override { return 64 * MiB; } virtual unsigned long long max_size() const override { return 16 * TiB; } - virtual bool supports_shrink() const override { return true; } - virtual bool supports_grow() const override { return true; } + virtual bool supports_mounted_shrink() const override { return false; } + virtual bool supports_mounted_grow() const override { return true; } + + virtual bool supports_unmounted_shrink() const override { return true; } + virtual bool supports_unmounted_grow() const override { return true; } virtual bool supports_label() const override { return true; } virtual unsigned int max_labelsize() const override { return 16; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/storage/Filesystems/SwapImpl.h new/libstorage-ng-3.3.145/storage/Filesystems/SwapImpl.h --- old/libstorage-ng-3.3.140/storage/Filesystems/SwapImpl.h 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/storage/Filesystems/SwapImpl.h 2018-01-30 13:51:10.000000000 +0100 @@ -47,8 +47,11 @@ virtual unsigned long long min_size() const override { return 40 * KiB; } virtual unsigned long long max_size() const override { return 1 * TiB; } - virtual bool supports_shrink() const override { return true; } - virtual bool supports_grow() const override { return true; } + virtual bool supports_mounted_shrink() const override { return false; } + virtual bool supports_mounted_grow() const override { return false; } + + virtual bool supports_unmounted_shrink() const override { return true; } + virtual bool supports_unmounted_grow() const override { return true; } virtual bool supports_label() const override { return true; } virtual unsigned int max_labelsize() const override { return 15; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/storage/Filesystems/UdfImpl.h new/libstorage-ng-3.3.145/storage/Filesystems/UdfImpl.h --- old/libstorage-ng-3.3.140/storage/Filesystems/UdfImpl.h 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/storage/Filesystems/UdfImpl.h 2018-01-30 13:51:10.000000000 +0100 @@ -46,8 +46,11 @@ virtual unsigned long long min_size() const override { return 0 * B; } virtual unsigned long long max_size() const override { return 2 * TiB; } - virtual bool supports_shrink() const override { return false; } - virtual bool supports_grow() const override { return false; } + virtual bool supports_mounted_shrink() const override { return false; } + virtual bool supports_mounted_grow() const override { return false; } + + virtual bool supports_unmounted_shrink() const override { return false; } + virtual bool supports_unmounted_grow() const override { return false; } virtual bool supports_label() const override { return true; } virtual unsigned int max_labelsize() const override { return 30; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/storage/Filesystems/VfatImpl.h new/libstorage-ng-3.3.145/storage/Filesystems/VfatImpl.h --- old/libstorage-ng-3.3.140/storage/Filesystems/VfatImpl.h 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/storage/Filesystems/VfatImpl.h 2018-01-30 13:51:10.000000000 +0100 @@ -47,8 +47,11 @@ virtual unsigned long long min_size() const override { return 64 * KiB; } virtual unsigned long long max_size() const override { return 2 * TiB; } - virtual bool supports_shrink() const override { return false; } - virtual bool supports_grow() const override { return false; } + virtual bool supports_mounted_shrink() const override { return false; } + virtual bool supports_mounted_grow() const override { return false; } + + virtual bool supports_unmounted_shrink() const override { return false; } + virtual bool supports_unmounted_grow() const override { return false; } virtual bool supports_label() const override { return true; } virtual unsigned int max_labelsize() const override { return 11; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/storage/Filesystems/XfsImpl.h new/libstorage-ng-3.3.145/storage/Filesystems/XfsImpl.h --- old/libstorage-ng-3.3.140/storage/Filesystems/XfsImpl.h 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/storage/Filesystems/XfsImpl.h 2018-01-30 13:51:10.000000000 +0100 @@ -47,8 +47,11 @@ virtual unsigned long long min_size() const override { return 40 * MiB; } virtual unsigned long long max_size() const override { return 8 * EiB - 1 * B; } - virtual bool supports_shrink() const override { return false; } - virtual bool supports_grow() const override { return true; } + virtual bool supports_mounted_shrink() const override { return false; } + virtual bool supports_mounted_grow() const override { return true; } + + virtual bool supports_unmounted_shrink() const override { return false; } + virtual bool supports_unmounted_grow() const override { return false; } virtual bool supports_label() const override { return true; } virtual unsigned int max_labelsize() const override { return 12; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/storage/Utils/AppUtil.cc new/libstorage-ng-3.3.145/storage/Utils/AppUtil.cc --- old/libstorage-ng-3.3.140/storage/Utils/AppUtil.cc 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/storage/Utils/AppUtil.cc 2018-01-30 13:51:10.000000000 +0100 @@ -433,8 +433,6 @@ #include "gen-pathlist.cc" }; - paths.erase(PORTMAPBIN); - if (!arch.is_s390()) { paths.erase(DASDVIEWBIN); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-3.3.140/storage/Utils/StorageDefines.h new/libstorage-ng-3.3.145/storage/Utils/StorageDefines.h --- old/libstorage-ng-3.3.140/storage/Utils/StorageDefines.h 2018-01-26 12:08:48.000000000 +0100 +++ new/libstorage-ng-3.3.145/storage/Utils/StorageDefines.h 2018-01-30 13:51:10.000000000 +0100 @@ -97,9 +97,7 @@ #define UDEVADMBIN_SETTLE UDEVADMBIN " settle --timeout=20" #define MODPROBEBIN "/sbin/modprobe" -#define PORTMAPBIN "/sbin/portmap" #define RPCBINDBIN "/sbin/rpcbind" -#define RPCSTATDBIN "/usr/sbin/rpc.statd" #define EFIBOOTMGRBIN "/usr/sbin/efibootmgr"
