bug-parted
[Top][All Lists]
Advanced

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

bug#32810: As Bug of "parted": Do not need show this message = not a err


From: ПИван Петров
Subject: bug#32810: As Bug of "parted": Do not need show this message = not a error
Date: Sun, 23 Sep 2018 16:04:58 +0300

Reason of this "message bug" is: search line with "###" !

========== Output =====================
address@hidden:/home/user# dd if=/dev/zero of=/dev/sdb status=progress bs=128M
dd: write error '/dev/sdb': No free space on device
9+0 got records
8+0 sent records
1073741824 bytes (1,1 GB, 1,0 GiB) copied, 0,962915 s, 1,1 GB/s

address@hidden:/home/user# parted --machine /dev/sdb unit B print free quit
Ошибка: /dev/sdb: метка диска не определена   ###: (translated: "Error: /dev/sdb: label of disk not defined")
BYT;                                                                      
/dev/sdb:1073741824B:scsi:512:512:unknown:VMware, VMware Virtual S:;

address@hidden:/home/user# $?
0: command not found

address@hidden:/home/user# parted --version
parted (GNU parted) 3.2
Copyright © 2014 Free Software Foundation, Inc.
Лицензия GPLv3+: GNU GPL версии 3 или новее <http://gnu.org/licenses/gpl.html>
Это свободное ПО: вы можете продавать и распространять его.
Нет НИКАКИХ ГАРАНТИЙ до степени, разрешённой законом.

Автор программы — <http://git.debian.org/?p=parted/parted.git;a=blob_plain;f=AUTHORS>.

address@hidden:/home/user# uname -a
Linux machine 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
============= End Output ==============================

I think, that the message "###" is not a error, because:
1. already undestand, that the disk cant have disk table and do not have labels of partitions (already="unknown" table)
2. for "--machine" output need strong/constantly output, without "sudden messages" (without ";" at end of line)

Please remove this message from stderr - it is not a error and this message hinder to "--machine" output!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]