linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev - TODO update
Date: Fri, 13 Feb 2004 01:26:37 +0000	[thread overview]
Message-ID: <20040213012637.GD5351@kroah.com> (raw)
In-Reply-To: <20040212234538.GC21117@vrfy.org>

On Fri, Feb 13, 2004 at 12:45:38AM +0100, Kay Sievers wrote:
> 
> Here a few questions about my favorite file in the tree :)
> 
> 
> - better partition support (it's a hack right now, maybe new libsysfs changes
>   can help out a lot here.)
> 
> It's done with Ananth's patches, right?

I think so, yes.

> - option to always add all partitions.  This is needed to properly handle
>   devices with removable media.
> 
> Sounds soooo... ugly, but seems we should do it. Any idea which direction?

I think a config option.  If set, we ignore the partition devices, and
just create every possible partition when we see the "main" block
device.  This is needed for removable media devices.

I agree it is ugly, but if anyone else can come up with an idea?

> - allow database to be queried by other programs
> 
> Is udevinfo enough, or do we need something more?

I think udevinfo is enough for now.  Anyone else feel a need for more?

> - split program into two pieces (daemon and helper that sends events to it).
>   This will allow us to keep track of sequences, and lots of other needed
>   stuff.
> 
> It's done, I think :)

Heh, yes, thanks a lot.

> - keep track of current permissions on devices when daemon shuts down.
> 
> Hmm, what is this?

When the /etc/init.d/udev script shuts down we need to save any
permission changes that have been done to the device nodes.  That way a
user can do:
	chmod 666 /dev/ttyUSB1
and we will pick this change up the next time we boot up.

Perhaps just a wrapper script:
	udevinfo chmod 666 /dev/ttyUSB1
that could also catch the change and write it to the permissions file.
But I don't think people will really go for that one.

It would be good to see how Gentoo handles this as I think they tar up
everything right now on system shutdown.  I'm trying to install it on a
spare laptop and stuck in build hell right now, so it will probably be a
few days...

> - better permission handling
> 
> What is missing here?

I don't know for sure.  Just a vague feeling that the way we currently
handle permissions is pretty lousy.  Anyone else feel this way too?

thanks,

greg k-h


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

  reply	other threads:[~2004-02-13  1:26 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-12 23:45 udev - TODO update Kay Sievers
2004-02-13  1:26 ` Greg KH [this message]
2004-02-13  1:59 ` Kay Sievers
2004-02-13  6:16 ` Daniel Drake
2004-02-13  8:31 ` Olaf Hering
2004-02-13 17:52 ` Mike Frysinger
2004-02-13 19:34 ` Daniel Stekloff
2004-02-13 22:53 ` Greg KH
2004-02-17  1:41 ` Greg KH
2004-02-17  1:48 ` Mike Frysinger
2004-02-27  0:41 ` Kay Sievers
2004-02-27  0:49 ` Robert Love
2004-02-27  1:00 ` Greg KH
2004-02-27  1:13 ` Mike Frysinger
2004-02-27  1:23 ` Mike Waychison
2004-02-27  1:27 ` Robert Love
2004-02-27  1:36 ` Robert Love
2004-02-27  2:24 ` Bill Nottingham
2004-02-27 11:03 ` Robert McMeekin
2004-02-27 15:45 ` Kay Sievers
2004-02-27 17:35 ` Greg KH
2004-02-27 17:37 ` Greg KH
2004-02-27 18:08 ` Mike Waychison
2004-02-27 19:10 ` Bill Nottingham
2004-02-27 19:19 ` Robert Love
2004-02-27 19:20 ` Robert Love
2004-02-28  0:55 ` Greg KH
2004-02-28 13:07 ` Erik van Konijnenburg
2004-02-28 16:47 ` Robert Love
2004-02-28 22:19 ` Kay Sievers
2004-02-28 22:37 ` Robert Love
2004-02-29  4:01 ` Kay Sievers
2004-03-01 22:44 ` Greg KH
2004-03-01 23:05 ` Robert Love
2004-03-01 23:16 ` Greg KH
2004-03-02  0:04 ` Kay Sievers
2004-03-02  0:09 ` Greg KH
2004-03-02  7:24 ` [linux-hotplug-devel] " Wout Mertens
2004-03-02  7:32 ` Wout Mertens
2004-03-02 20:15 ` Greg KH
2004-03-02 20:55 ` Wout Mertens

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=20040213012637.GD5351@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).