1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 20:25:38 +03:00
Commit Graph

22 Commits

Author SHA1 Message Date
greg@kroah.com
6142386306 [PATCH] remove the lfs startup script on request of the author.
The distro now has its own version, so this one is not needed.
2005-04-26 23:21:58 -07:00
greg@kroah.com
d18c91df7f [PATCH] use udevstart for udev.init.* files.
Thanks to Kay for pointing it out.
2005-04-26 23:06:10 -07:00
greg@kroah.com
69bef84191 [PATCH] delete a bunch of files no longer needed.
Thanks to Kay for pointing it out.
2005-04-26 23:06:10 -07:00
kay.sievers@vrfy.org
2b41e68a08 [PATCH] replace tdb database by simple lockless file database
This makes the udev operation completely lockless by storing a
file for every node in /dev/.udevdb/* This solved the problem
with deadlocking concurrent udev processes waiting for each other
to release the file lock under heavy load.
2005-04-26 22:16:40 -07:00
greg@kroah.com
91d55528e1 [PATCH] remove the debian specific file, as they don't want to share with the rest of the world :( 2005-04-26 21:47:44 -07:00
tao@kernel.org
b9e3301c3b [PATCH] Minor POSIX-fixes for udev
The attached patch contains a few patches against udev, to remove
use of various XSI:isms and bash:isms, and to change two scripts form
/bin/bash to /bin/sh.  None of the bash-scripts in test/ uses any
bash-specific functions as far as I know, but I didn't touch them since
they aren't used runtime.

Rationale:
* Both of the /bin/bash-scripts are totally free from bashisms, hence they
  don't need to be /bin/bash; using /bin/sh instead helps (mainly)
  embedded-people

* local and source are bash:isms (well, they exist in several other
  shells as well, but they aren't part of POSIX or any of its extensions)

* -a in tests is an XSI-extension, not part of strict POSIX, and is
  easily replaced by &&
  | http://www.opengroup.org/onlinepubs/009695399/utilities/test.html

* Use of fgrep is deprecated in POSIX in favour of grep -F (though fgrep
  will remain in use for a long time...)
  | http://www.opengroup.org/onlinepubs/009695399/utilities/grep.html

The fgrep-change isn't really necessary, since fgrep can always be
implemented as a shell-script, but the rest of the changes would really
be appreciated.
2005-04-26 21:36:59 -07:00
greg@kroah.com
8fff7b42b4 [PATCH] start up udevd ourselves in the init script to give it some good priorities. 2005-04-26 21:32:28 -07:00
john-hotplug@fjellstad.org
24f8f09876 [PATCH] init.d debian patch
I dualboot between 2.4.x and 2.6.x right now, and although I
want udev to start up when 2.6 is booting, I don't want it to try when
2.4.x is booting.

This is a small patch to not start up udev if sysfs is not
mounted.
2005-04-26 21:32:28 -07:00
greg@kroah.com
20f86361f4 [PATCH] update the red hat init script to handle nodes that are not present
Thanks to Gentoo for the list of these files.
2005-04-26 21:32:28 -07:00
greg@kroah.com
1a3b802ff2 [PATCH] update the init.d udev script based on a patch from Red Hat. 2005-04-26 21:32:27 -07:00
greg@kroah.com
552a4d426f [PATCH] remove the .udev.tdb when installing or uninstalling to be safe. 2005-04-26 21:32:27 -07:00
greg@kroah.com
66a9021760 [PATCH] remove the database at startup. 2005-04-26 21:32:27 -07:00
mbuesch@freenet.de
25f8a5ad64 [PATCH] LFS init script update 2005-04-26 21:13:18 -07:00
elkropac@students.zcu.cz
655f414dde [PATCH] fix udev directory for Debian init script
there is also patch on debian init.d file, it uses variable $udev_dir
also when creating and removing symlinks
2005-04-26 21:13:15 -07:00
eike-hotplug@sf-tec.de
e64280b8b3 [PATCH] LSB init script and other stuff
I had too much time during the holidays, so I played a bit with udev. The
changes are like last time mostly on the init stuff. I'm sending you this as
a great diff which is just for comments.

What it does:
-fix a typo in Makefile
-use only one "grep -v" instead of many
-don't include BK-Files into release (shrinks the stuff to 30%!)
-add a new init script which is LSB compliant
-add some flags to choose which one to use
-use /etc/udev/udev.conf in Redhat init script as the source for the udev
directory. If this is not done then the init script may create a directory
which udev itself isn't using (I changed /udev to /Udev to avoid collisions
with /usr and ran into this)
-first check for sysfs_dir before creating udev_root (maybe someone else has
already fixed this, I saw this discussion on lkml)
2005-04-26 21:13:15 -07:00
greg@kroah.com
8240b47514 [PATCH] added init.d udev script for debian
Thanks to Mathieu Segaud <matt@minas-morgul.org> for the file.
2005-04-26 21:13:14 -07:00
greg@kroah.com
5e22c4df53 [PATCH] added udev.init script for the Linux From Scratch project.
Thanks to Michael Buesch <mbuesch@freenet.de> for providing it.
2005-04-26 21:13:11 -07:00
greg@kroah.com
18c783a7e6 [PATCH] more init script cleanups, the stop target now calls udev to cleanup instead of just removing the whole /udev directory. 2005-04-26 21:13:10 -07:00
greg@kroah.com
5779dd31f4 [PATCH] make udev init script run udev in the background to let startup go much faster 2005-04-26 21:13:10 -07:00
greg@kroah.com
5a3ee97760 [PATCH] Add restart target to the etc/init.d/udev script
Change made by Rolf Eike Beer <eike-hotplug@sf-tec.de>
2005-04-26 21:13:07 -07:00
greg@kroah.com
7e1b28e8fa [PATCH] fix udev init.d script to handle all class devices in sysfs. 2005-04-26 21:13:02 -07:00
rml@tech9.net
8b94dcd067 [PATCH] udev init script
I integrated udev with Fedora Core.  The main piece is simply building
/udev on boot, since we don't have an initramfs yet. We should also   
clear out /udev on shutdown, for /udev directories mounted on persistent
media.

The attached script goes in /etc/init.d

Then do "chkconfig --add udev"

And the rest is handled automatically.  I made it for Fedora but it will
probably work, with little change, on any Linux system.

Right now it only does sysfs-based discovery of block and tty devices,
since those are the only types of devices I have on my system.  There is
a TODO in the script where we would add the other device types.
2005-04-26 21:06:22 -07:00