From: Greg KH <greg@kroah.com>
To: Christophe Saout <christophe@saout.de>
Cc: "Kevin P. Fleming" <kpfleming@backtobasicsmgmt.com>,
linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org
Subject: Re: ATARAID userspace configuration tool
Date: Tue, 10 Feb 2004 17:35:51 -0800 [thread overview]
Message-ID: <20040211013551.GB2153@kroah.com> (raw)
In-Reply-To: <1076440714.27328.8.camel@leto.cs.pocnet.net>
On Tue, Feb 10, 2004 at 08:18:34PM +0100, Christophe Saout wrote:
>
> udev maintains a database of already created devices. And sysfs is some
> sort of database of really existing devices. The "telling udev to not
> create the device and instead create it ourself" is bad. We should be
> able to tell udev that it should register and create another device
> instead. Perhaps udev should know about compound devices.
>
> I'm not sure but if udev knows about compound devices things get a bit
> more complicated. A raid 1 setup would continue to work if one of the
> devices is unplugged, a raid 0 setup fails to work if one device is
> missing. Probably the device should be deleted only when both hard disks
> are removed. Also it should be created if only one hard disk gets
> plugged in. But on bootup if some script tells udev that one hard disk
> is there and some seconds later that the second is also there the tool
> shouldn't assume the raid has failed after seeing the first event.
>
> Should we Cc an udev developer for an opinion?
udev can either ignore compound devices with a rule that matches the
dm-* block devices, or it can do something about them.
I really don't think udev in and of itself needs to know anything
special about these kinds of devices, as it will be glad to kick off
other programs for you if you want it to.
thanks,
greg k-h
next prev parent reply other threads:[~2004-02-11 1:36 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-10 14:18 ATARAID userspace configuration tool Thomas Horsten
2004-02-10 14:51 ` Matt Domsch
2004-02-10 14:58 ` Christophe Saout
2004-02-10 18:26 ` Kevin P. Fleming
2004-02-10 19:18 ` Christophe Saout
2004-02-10 19:24 ` Kevin P. Fleming
2004-02-11 1:35 ` Greg KH [this message]
2004-02-11 1:45 ` Kevin P. Fleming
2004-02-11 11:34 ` Christophe Saout
2004-02-11 14:18 ` Kevin P. Fleming
2004-02-11 19:48 ` Christophe Saout
2004-02-10 17:38 ` Jeff Garzik
2004-02-10 17:47 ` Thomas Horsten
2004-02-10 18:44 ` Jeff Garzik
2004-02-10 22:41 ` Neil Brown
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=20040211013551.GB2153@kroah.com \
--to=greg@kroah.com \
--cc=christophe@saout.de \
--cc=kpfleming@backtobasicsmgmt.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox