summaryrefslogtreecommitdiffstats
path: root/source/a/mkinitrd/_initrd-tree/etc
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/mkinitrd/_initrd-tree/etc')
-rw-r--r--source/a/mkinitrd/_initrd-tree/etc/fstab2
-rw-r--r--source/a/mkinitrd/_initrd-tree/etc/group44
-rw-r--r--source/a/mkinitrd/_initrd-tree/etc/nsswitch.conf42
-rw-r--r--source/a/mkinitrd/_initrd-tree/etc/passwd25
-rw-r--r--source/a/mkinitrd/_initrd-tree/etc/udev/udev.conf14
5 files changed, 127 insertions, 0 deletions
diff --git a/source/a/mkinitrd/_initrd-tree/etc/fstab b/source/a/mkinitrd/_initrd-tree/etc/fstab
new file mode 100644
index 000000000..90933aa66
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/etc/fstab
@@ -0,0 +1,2 @@
+proc /proc proc defaults 0 0
+
diff --git a/source/a/mkinitrd/_initrd-tree/etc/group b/source/a/mkinitrd/_initrd-tree/etc/group
new file mode 100644
index 000000000..c7c873138
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/etc/group
@@ -0,0 +1,44 @@
+root:x:0:root
+bin:x:1:root,bin
+daemon:x:2:root,bin,daemon
+sys:x:3:root,bin,adm
+adm:x:4:root,adm,daemon
+tty:x:5:
+disk:x:6:root,adm
+lp:x:7:lp
+mem:x:8:
+kmem:x:9:
+wheel:x:10:root
+floppy:x:11:root
+mail:x:12:mail
+news:x:13:news
+uucp:x:14:uucp
+man:x:15:
+dialout:x:16:uucp
+audio:x:17:root
+video:x:18:root
+cdrom:x:19:root
+games:x:20:
+slocate:x:21:
+utmp:x:22:
+smmsp:x:25:smmsp
+tape:x:26:root
+mysql:x:27:
+rpc:x:32:
+sshd:x:33:sshd
+gdm:x:42:
+shadow:x:43:
+ftp:x:50:
+oprofile:x:51:
+apache:x:80:
+messagebus:x:81:
+haldaemon:x:82:
+plugdev:x:83:root
+power:x:84:root
+netdev:x:86:root
+pop:x:90:pop
+scanner:x:93:root
+nobody:x:98:nobody
+nogroup:x:99:
+users:x:100:
+console:x:101:
diff --git a/source/a/mkinitrd/_initrd-tree/etc/nsswitch.conf b/source/a/mkinitrd/_initrd-tree/etc/nsswitch.conf
new file mode 100644
index 000000000..3d993afcb
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/etc/nsswitch.conf
@@ -0,0 +1,42 @@
+#
+# /etc/nsswitch.conf
+#
+# An example Name Service Switch config file. This file should be
+# sorted with the most-used services at the beginning.
+#
+# The entry '[NOTFOUND=return]' means that the search for an
+# entry should stop if the search in the previous entry turned
+# up nothing. Note that if the search failed due to some other reason
+# (like no NIS server responding) then the search continues with the
+# next entry.
+#
+# Legal entries are:
+#
+# nisplus or nis+ Use NIS+ (NIS version 3)
+# nis or yp Use NIS (NIS version 2), also called YP
+# dns Use DNS (Domain Name Service)
+# files Use the local files
+# [NOTFOUND=return] Stop searching if not found so far
+#
+
+# passwd: files nis
+# shadow: files nis
+# group: files nis
+
+passwd: compat
+group: compat
+
+hosts: files dns
+networks: files
+
+services: files
+protocols: files
+rpc: files
+ethers: files
+netmasks: files
+netgroup: files
+bootparams: files
+
+automount: files
+aliases: files
+
diff --git a/source/a/mkinitrd/_initrd-tree/etc/passwd b/source/a/mkinitrd/_initrd-tree/etc/passwd
new file mode 100644
index 000000000..c8f6a72fa
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/etc/passwd
@@ -0,0 +1,25 @@
+root:x:0:0::/root:/bin/bash
+bin:x:1:1:bin:/bin:/bin/false
+daemon:x:2:2:daemon:/sbin:/bin/false
+adm:x:3:4:adm:/var/log:/bin/false
+lp:x:4:7:lp:/var/spool/lpd:/bin/false
+sync:x:5:0:sync:/sbin:/bin/sync
+shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
+halt:x:7:0:halt:/sbin:/sbin/halt
+mail:x:8:12:mail:/:/bin/false
+news:x:9:13:news:/usr/lib/news:/bin/false
+uucp:x:10:14:uucp:/var/spool/uucppublic:/bin/false
+operator:x:11:0:operator:/root:/bin/bash
+games:x:12:100:games:/usr/games:/bin/false
+ftp:x:14:50::/home/ftp:/bin/false
+smmsp:x:25:25:smmsp:/var/spool/clientmqueue:/bin/false
+mysql:x:27:27:MySQL:/var/lib/mysql:/bin/false
+rpc:x:32:32:RPC portmap user:/:/bin/false
+sshd:x:33:33:sshd:/:/bin/false
+gdm:x:42:42:GDM:/var/state/gdm:/bin/bash
+oprofile:x:51:51:oprofile:/:/bin/false
+apache:x:80:80:User for Apache:/srv/httpd:/bin/false
+messagebus:x:81:81:User for D-BUS:/var/run/dbus:/bin/false
+haldaemon:x:82:82:User for HAL:/var/run/hald:/bin/false
+pop:x:90:90:POP:/:/bin/false
+nobody:x:99:99:nobody:/:/bin/false
diff --git a/source/a/mkinitrd/_initrd-tree/etc/udev/udev.conf b/source/a/mkinitrd/_initrd-tree/etc/udev/udev.conf
new file mode 100644
index 000000000..b0421a08b
--- /dev/null
+++ b/source/a/mkinitrd/_initrd-tree/etc/udev/udev.conf
@@ -0,0 +1,14 @@
+# udev.conf
+# The main config file for udev
+#
+# This file can be used to override some of udev's default values for where it
+# looks for files, and where it places device nodes.
+
+# udev_root - where in the filesystem to place the device nodes
+udev_root="/dev/"
+
+# udev_log - The initial syslog(3) priority: "err", "info", "debug" or
+# its numerical equivalent. For runtime debugging, the daemons
+# internal state can be changed with: udevcontrol log_priority=<value>
+udev_log="err"
+