From: Anton Farygin <rider@altlinux.com> To: ALT Devel discussion list <public-devel-XbBxUvOt3X3HsNE/8sQLYR2eb7JE58TQ@hugh.gmane.org> Subject: Re: [devel] [git update] packages/startup: tags/0.9.8.17-alt2 Date: Tue, 04 Mar 2008 18:49:45 +0300 Message-ID: <47CD6F99.8000208@altlinux.com> (raw) In-Reply-To: <20080304143822.GA5814@wo.int.altlinux.org> Dmitry V. Levin пишет: > On Tue, Mar 04, 2008 at 03:40:52PM +0300, Sergey Vlasov wrote: >> On Tue, Mar 04, 2008 at 03:24:37PM +0300, Dmitry V. Levin wrote: <skip> >>> Можно пояснить, что именно исправляет это изменение? >> Если модуль dm-mod в этот момент уже был загружен (например, из >> initrd), и при этом udevd был запущен из rc.sysinit (RUN_UDEV=1), в >> результате выполнения этого кода файл устройства /dev/mapper/control >> удалялся, что приводило к ошибкам при последующем запуске lvm. >> Конечно, имеющаяся запись changelog никуда не годится - MD не имеет >> никакого отношения к данной проблеме. >> >> В новом варианте, правда, всё равно остаётся race - в случае >> RUN_UDEV=1 файл устройства должен создавать udevd, но ожидание его >> создания не производится. > > А каким образом лучше ждать появления этого файла? я бы предложил использовать для этого inotify. Но если не очень хочется затачиваться на относительно новый инструмент, то можно просто написать цикл.
next prev parent reply other threads:[~2008-03-04 15:49 UTC|newest] Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-03-04 12:24 ` Dmitry V. Levin 2008-03-04 12:40 ` Sergey Vlasov 2008-03-04 14:38 ` Dmitry V. Levin 2008-03-04 15:49 ` Anton Farygin [this message] 2008-03-04 16:06 ` Led 2008-03-04 16:17 ` Sergey V Turchin 2008-03-04 16:34 ` Led 2008-03-04 17:28 ` Anton Farygin 2008-03-04 18:19 ` Mikhail Gusarov 2008-03-04 19:40 ` Led 2008-03-04 19:43 ` Mikhail Gusarov 2008-03-04 20:06 ` Led 2008-03-04 20:20 ` Mikhail Gusarov 2008-03-04 20:50 ` Led 2008-03-04 20:53 ` Mikhail Gusarov 2008-03-04 22:43 ` Dmitry V. Levin 2008-03-05 5:43 ` Anton Farygin 2008-03-05 12:28 ` Dmitry V. Levin 2008-03-05 12:46 ` Anton Farygin 2008-03-05 13:14 ` Sergey Vlasov 2008-03-05 18:00 ` Vitaly Ostanin 2008-03-05 19:01 ` Dmitry V. Levin 2008-03-05 21:47 ` Anton Farygin
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=47CD6F99.8000208@altlinux.com \ --to=rider@altlinux.com \ --cc=devel@lists.altlinux.org \ --cc=public-devel-XbBxUvOt3X3HsNE/8sQLYR2eb7JE58TQ@hugh.gmane.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 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