Author: pebender
Date: Wed Apr 8 03:27:50 2009
New Revision: 4572
Modified:
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/rc.sysinit.sh
Log:
- Added creation of /var/lib to the initial init script.
- Removed creation of /dev/null from the inital init script as it is
created by root_pivot.
Modified:
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/rc.sysinit.sh
==============================================================================
---
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/rc.sysinit.sh
(original)
+++
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/rc.sysinit.sh
Wed Apr 8 03:27:50 2009
@@ -24,6 +24,7 @@
# Create /var.
/bin/mkdir -p /var
/bin/mkdir -p /var/cache
+/bin/mkdir -p /var/lib
/bin/mkdir -p /var/lock
/bin/mkdir -p /var/log
/bin/mkdir -p /var/run
@@ -31,9 +32,7 @@
/bin/mkdir -p /var/tmp
/bin/chmod 1777 /var/tmp
-# Create /dev.
-/bin/mkdir -p /dev
-/bin/mknod -m 0666 /dev/null c 1 3
+# Create basic devices that are not created by pivot_root.
/bin/ln -s /proc/kcore /dev/core
/bin/ln -s /proc/self/fd /dev/fd
/bin/ln -s /proc/self/fd/0 /dev/stdin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---