From: Olaf Hering <olh@suse.de>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev - flag for preserving the ownership
Date: Thu, 03 Jun 2004 10:59:17 +0000 [thread overview]
Message-ID: <20040603105917.GA32499@suse.de> (raw)
In-Reply-To: <40BCA49D.2000007@redhat.com>
On Thu, Jun 03, Harald Hoyer wrote:
> Olaf Hering wrote:
> >I havent looked at the larger context, but I believe this changes
> >behaviour of udev. Currently udevstart can fix up your system for sure,
> >but with this change, a bogus file will not be removed if it happens to
> >have the same permissions.
> >Or will stats.st_rdev = makedev(major, minor) take care of that?
>
> yep, it will not change file permissions and ownership, if it already
> exists and is the correct node... we can also create a config flag,
> which changes the goto. You may look at the whole code.
ok in this case.
> What I also wish is a flag for the DB, which indicates that the file
> already existed and should not be removed with the "remove" ACTION.
That cant be the job of udev. If the device is not there, then noone
will need the device node. We can certainly argue about broken things
like md0 and similar chicken/egg problems.
--
USB is for mice, FireWire is for men!
sUse lINUX ag, n√úRNBERG
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
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
next prev parent reply other threads:[~2004-06-03 10:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-01 15:45 udev - flag for preserving the ownership Harald Hoyer
2004-06-02 10:26 ` Harald Hoyer
2004-06-02 18:21 ` Olaf Hering
2004-06-03 8:16 ` Harald Hoyer
2004-06-03 10:59 ` Olaf Hering [this message]
2004-06-03 11:03 ` Harald Hoyer
2004-06-03 11:14 ` Olaf Hering
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=20040603105917.GA32499@suse.de \
--to=olh@suse.de \
--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).