ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Speccyfighter <zxwarior@yandex.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: [Comm]  dd - ошибка в help
Date: Sat, 21 Jan 2012 04:07:03 +0300
Message-ID: <4F1A0FB7.2010809@yandex.ru> (raw)

Всем доброго времени суток!

Обнаружена ошибка в help к программе dd, пакет coreutils.
Ошибка затрагивает все версии программы dd в код которой встроен help,
англоязычный и русскоязычный help.

Получить help:

$ dd --help

Оригинальный текст:

Если послать работающему процессу dd сигнал USR1, он напечатает на
стандартный поток ошибок статистику ввода/вывода и продолжит
копирование.

   $ dd if=/dev/zero of=/dev/null& pid=$!
   $ kill -USR1 $pid; sleep 1; kill $pid
   18335302+0 входных записей
   18335302+0 выходных записей
   9387674624 байта (9.4 GB) скопировано, 34.6279 секунды, 271 MB/s


Документация к программе kill гласит:

$ info kill
...
The default signal to send if none is specified is `TERM'.


Приведённая в help строка

   $ kill -USR1 $pid; sleep 1; kill $pid

после исполнения завершает, а не продолжает
процесс.
В ascii коде бинарника строка выглядит как:
   $ kill -%s $pid; sleep 1; kill $pid


Должно быть в help к программе dd:

   $ kill -USR1 $pid; sleep 1
с задержкой в 1 сек
или
   $ kill -USR1 $pid
без задержки


Версии dd:
пятая платформа - 7.6
шестая платформа - 8.14
сизиф - 8.15

Подскажите:
На что вешать баг? На Сизиф?



             reply	other threads:[~2012-01-21  1:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-21  1:07 Speccyfighter [this message]
2012-01-21  1:15 ` Dmitry V. Levin
2012-01-21  3:46   ` Speccyfighter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F1A0FB7.2010809@yandex.ru \
    --to=zxwarior@yandex.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git