ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: ABATAPA <altlinux-community@yandex.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] md5sum
Date: Tue, 21 Mar 2006 15:02:29 +0300
Message-ID: <200603211502.29339.altlinux-community@yandex.ru> (raw)
In-Reply-To: <F86068E675F09F4BBC85ACA22D3174E1500FC4@zeus.knpp.local>

21 марта 2006 14:47, Туркин Михаил Александрович написал:
> Доброго времени суток! Есть необходимость
> периодически считать контрольную сумму на
> компакт-дисках. Man на эту утилиту говорит
> на смонтированном девайсе дать команду :
> # /usr/bin/md5sum /dev/cdrom - результат
> /usr/bin/md5sum: /dev/cdrom: Input/output error
> через создание образа диска, всё идёт на ура.
> В чём грабли? Linux 2.4.26-std-up-alt6 i686
> Заранее благодарю.

Контрольная сумма записанного образа и того, что читается с диска, не всегда 
должна совпадать. Вам поможет следующее решение:
(без промежуточного сохранения образа)
	# readcd dev=/dev/cdrom  -f - | md5sum
(с сохранением)
	# readcd dev=/dev/cdrom  -f image.iso  | md5sum image.iso | rm -i image.iso



-- 
ABATAPA


      reply	other threads:[~2006-03-21 12:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-21 11:47 Туркин Михаил Александрович
2006-03-21 12:02 ` ABATAPA [this message]

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=200603211502.29339.altlinux-community@yandex.ru \
    --to=altlinux-community@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