Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (5387f9a71f66743e2051335e94601660d80de1af)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (5387f9a71f66743e2051335e94601660d80de1af)
  • Date: Tue, 12 Aug 2008 03:26:07 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

smgl/init.d/init.d/devices | 2 +-
smgl/init.d/init.d/devices.conf | 22 +---------------------
2 files changed, 2 insertions(+), 22 deletions(-)

New commits:
commit 5387f9a71f66743e2051335e94601660d80de1af
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

Revert "init.d/devices{,.conf}: corrected for udev sanity"

EPIC FAIL: missing some "then" word, and other problems: please _CHECK_
the stuff you worked on _BEFORE_ the committing a.k.a. "edit a spell" ->
"cast a spell" -> reboot -> if success; then
commit else think_more

This reverts commit 895cc0803dc99b72d8aff0ea5b83f72b92b3f2be.

diff --git a/smgl/init.d/init.d/devices b/smgl/init.d/init.d/devices
index 7bd0b4c..a2db4b1 100755
--- a/smgl/init.d/init.d/devices
+++ b/smgl/init.d/init.d/devices
@@ -33,7 +33,7 @@ start_udev()
echo "Mounting sysfs at /sys"
mount -n -t sysfs none /sys
echo "Mounting ramfs at $udev_root"
- mount -n -t "$DEVTYPE" none "$DEVROOT"
+ mount -n -t ramfs none $udev_root
# create some needed stuff
ln -s /proc/self/fd $udev_root/fd
ln -s /dev/fd/0 $udev_root/stdin
diff --git a/smgl/init.d/init.d/devices.conf b/smgl/init.d/init.d/devices.conf
index 873e288..287f0cc 100644
--- a/smgl/init.d/init.d/devices.conf
+++ b/smgl/init.d/init.d/devices.conf
@@ -1,22 +1,2 @@
# type of device management, "static", "devfs" or "udev"
-DEVICES=static
-
-# If using udev, you can set the device tree (DEVROOT) to be anywhere you
want.
-# The normal sane value for this is /dev, but if you're adventurous you can
try
-# something else. Since this may also be defined in /etc/udev/udev.conf, and
it
-# makes sense to have the init script use the same device tree as udev, this
is
-# set to track the udev config file's value for udev_root. It will default to
-# /dev if udev_root is not defined in /etc/udev/udev.conf, or if
-# /etc/udev/udev.conf does not exist. Change it at your own risk.
-if [[ "$DEVICES" == udev ]]
-then
- if [[ -e /etc/udev/udev.conf ]]
- . /etc/udev/udev.conf
- fi
- DEVROOT="${udev_root:=/dev}"
-# DEVTYPE defines what type of filesystem should be mounted on DEVROOT.
-# Normally, you would want this to be either tmpfs or ramfs, where tmpfs is
-# considered to deprecate ramfs. Make sure you have tmpfs support in your
-# kernel if you want to use tmpfs.
- DEVTYPE="tmpfs"
-fi
+DEVICES=devfs



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (5387f9a71f66743e2051335e94601660d80de1af), Vlad Glagolev, 08/12/2008

Archive powered by MHonArc 2.6.24.

Top of Page