From: Sergey Vlasov <vsu@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] storagescan неработоспособен
Date: Thu, 19 Apr 2007 13:18:39 +0400
Message-ID: <20070419091839.GH16017@newmaster.mivlgu.local> (raw)
In-Reply-To: <20070419083917.GC25576@mw.local.seiros.ru>
[-- Attachment #1: Type: text/plain, Size: 1244 bytes --]
On Thu, Apr 19, 2007 at 12:39:17PM +0400, Денис Смирнов wrote:
> On Thu, Apr 19, 2007 at 12:33:27PM +0400, Sergey Vlasov wrote:
>
> SV> Если то, что умеет выдавать storagescan - например, так:
> SV> $ cat /sys/block/hd[ac]/device/modalias
> SV> ide:m-disk
> SV> ide:m-cdrom
> SV> /dev/sda имеющийся у меня storagescan вообще не увидел. Как искать
> SV> модули для контроллеров - вопрос отдельный (mkinitrd пытается это
> SV> делать, но используемый там метод тоже не идеален).
> SV> Хотя не совсем понятно, как именно нужно работать с sysfs, чтобы
> SV> получившийся код не ломался при каждом изменении версии ядра.
>
> Получается только какой-либо отдельной либой, которая будет пытаться
> понимать разные форматы и все время её обновлять :( Ой не нравится мне
> это.
>
> А udev как выкручивается?
Периодическим созданием несовместимостей (как на уровне самого udev,
так и в правилах).
Например, текущие версии udev с ядрами < 2.6.15 не работают
принципиально, а часть правил в апстриме требует уже >= 2.6.20.
С другой стороны, в новых ядрах есть опция CONFIG_SYSFS_DEPRECATED,
отключение которой приводит к потере совместимости со старыми udev и
hal, но когда-нибудь эта опция пропадёт окончательно.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-04-19 9:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-18 14:33 Денис Смирнов
2007-04-18 18:45 ` Anton Farygin
2007-04-18 18:47 ` Денис Смирнов
2007-04-18 19:04 ` Anton Farygin
2007-04-18 19:20 ` Денис Смирнов
2007-04-18 20:22 ` Anton Farygin
2007-04-18 21:11 ` Денис Смирнов
2007-04-18 23:07 ` Anton Farygin
2007-04-19 8:06 ` Денис Смирнов
2007-04-19 8:33 ` Sergey Vlasov
2007-04-19 8:39 ` Денис Смирнов
2007-04-19 9:18 ` Sergey Vlasov [this message]
2007-04-19 13:22 ` Денис Смирнов
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=20070419091839.GH16017@newmaster.mivlgu.local \
--to=vsu@altlinux.ru \
--cc=devel@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 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