ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Damir <lost404@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Опыт работы с flash в качестве основного устройства
Date: Wed, 20 Apr 2011 18:42:33 +0400
Message-ID: <BANLkTi=f=2tusf1ZZyKQup5JMrZwNfV6GQ@mail.gmail.com> (raw)
In-Reply-To: <4DAEE9E6.5080108@rambler.ru>

>>> В связи с этим, в скрипт /etc/rc.d/init.d/halt перед размотированием
>>> устройств была вставлена команда sync, которая принудительно сбрасывает
>>> буфера устройства и ожидает окончания этой операции.
>>
>> Если делается корректный umount, то sync не нужен.
>
> rsync перед размонтированием сильно снижает объём данных, которые необходимо
> скинуть на диск, особенно если речь идёт о reiserfs, с её развесистыми
> метаданными.
sync != rsync
umount делает то же, что и sync. Просто могут быть кеши в самом
устройстве, поэтому и необходимо какое-то время перед выключением.

см. man 2 sync, секцию Баги

>> Скорее всего именно это и приводит к исчезновению проблем.
>
> Эта команда добавлена на всякий случай от паранои. Я думаю иначе.
Уберите ее и посмотрите, что получится.

  parent reply	other threads:[~2011-04-20 14:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-20 10:52 Kharitonov A. Dmitry
2011-04-20 13:46 ` Damir
2011-04-20 14:12   ` Kharitonov A. Dmitry
2011-04-20 14:32     ` Mykola S. Grechukh
2011-04-20 14:44       ` REAL
2011-04-20 14:46         ` Mykola S. Grechukh
2011-04-20 15:35         ` Денис Смирнов
2011-04-20 17:17         ` Kharitonov A. Dmitry
2011-04-20 17:07       ` Kharitonov A. Dmitry
2011-04-20 17:11         ` Mykola S. Grechukh
2011-04-20 17:25           ` Kharitonov A. Dmitry
2011-04-20 14:42     ` Damir [this message]
2011-04-20 17:15       ` Kharitonov A. Dmitry

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='BANLkTi=f=2tusf1ZZyKQup5JMrZwNfV6GQ@mail.gmail.com' \
    --to=lost404@gmail.com \
    --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