From: "Денис Смирнов" <mithraen@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] fstab & hotplug
Date: Tue, 19 Oct 2004 01:03:36 +0400
Message-ID: <20041018210336.GA28323@workstation> (raw)
In-Reply-To: <417373E0.40102@altlinux.com>
[-- Attachment #1: Type: text/plain, Size: 1890 bytes --]
On Mon, Oct 18, 2004 at 11:42:24AM +0400, Anton Farygin wrote:
AF> >Усё, приехали. Вчера опять нарвался с fstab'ом -- у меня он оказался
AF> >полутрупом (куда-то делась его часть). Подозрения падают на race при
AF> >редактировании fstab'а мной и старания hotplug. Громкости моего мата не
AF> >было предела.
AF> Вот. как раз это fixed в новом hotplug'е ;-)
AF> Хотя, конечно, при ручном редактировании тут ничего не сделаешь. Т.е. -
AF> если ты открыл редактором fstab, потом вставил flash, потом записал то,
AF> что редактируешь - все что делал hotplug, естественно, потеряется.
AF> Там был race на то, что одновременно две копии block.agent пытались
AF> редактировать /etc/fstab. Вот это сейчас исправлена - одна из них ждет
AF> завершения работы над fstab'ом другой.
А... Значит я зря себя винил :)
Вот только почему они _редактируют_? Может всё-таки создавать новый, а
потом rename?
AF> >Вывод: /etc/fstab.d уже совсем назрел. И до следующего дистрибутива,
AF> >который будет уже активно пользоваться возможностями hotplug,
AF> >редактироваться /etc/fstab не должен.
AF> Важно что бы всяческие тулзы (например KDE) умели это дело отрабатывать.
AF> Насколько я знаю - сейчас KDE смотрит на изменение файла /etc/fstab и
AF> обновляет в зависимости от этого свой рабочий стол.
touch /etc/fstab чтобы пнуть обновлялку, ну и можно пропатчить эту самую
обновлялку.
AF> >И ещё -- таки хоть тушкой, хоть чучелком, но таки надо думать о
AF> >возможности монтировать / ro. Посему у меня предложение -- сделать
AF> >/etc/var размерчиком в несколько мегабайт и монтируемым tmpfs. Там будет
AF> >mtab, там будет и fstab.hotplug. Туда же можно складировать и прочие
AF> >вроде бы конфиги, но создаваемые на лету.
AF> Наверное. Не мне было проще пофиксить block.agent ;-)
:-)
--
С уважением, Денис
http://freesource.info
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-10-18 21:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-16 13:23 Денис Смирнов
2004-10-16 17:25 ` [devel] " Michael Shigorin
2004-10-16 20:05 ` Денис Смирнов
2004-10-18 7:42 ` [devel] " Anton Farygin
2004-10-18 8:34 ` Sergey Y. Afonin
2004-10-18 21:03 ` Денис Смирнов [this message]
2004-10-19 10:49 ` Anton Farygin
2004-10-19 21:21 ` Денис Смирнов
2004-10-20 6:35 ` Anton Farygin
2004-10-20 11:24 ` Денис Смирнов
2004-10-25 13:26 ` Anton Farygin
2004-10-18 8:44 ` Sergey Y. Afonin
2004-10-18 13:44 ` Alexey Morozov
2004-10-18 14:02 ` Sergey Y. Afonin
2004-10-18 21:07 ` Денис Смирнов
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=20041018210336.GA28323@workstation \
--to=mithraen@altlinux.ru \
--cc=devel@altlinux.ru \
/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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git