summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-01-03 23:56:37 -0600
committerWilliam Hubbs <williamh@gentoo.org>2023-01-03 23:56:37 -0600
commite81dfb07f53e817a83e3c3a7c247cdb57a507fdf (patch)
tree7a4f90ce85d55ba7ec78ed8795bd21031e26e856 /share
parentversion 2.9 (diff)
downloadbaselayout-e81dfb07f53e817a83e3c3a7c247cdb57a507fdf.tar.gz
baselayout-e81dfb07f53e817a83e3c3a7c247cdb57a507fdf.tar.bz2
baselayout-e81dfb07f53e817a83e3c3a7c247cdb57a507fdf.zip
drop OS specific support
This is no longer needed since we have dropped support for *BSD. Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'share')
-rw-r--r--share/fstab29
-rw-r--r--share/group28
-rw-r--r--share/issue.devfix21
-rw-r--r--share/passwd13
-rw-r--r--share/shadow13
5 files changed, 104 insertions, 0 deletions
diff --git a/share/fstab b/share/fstab
new file mode 100644
index 00000000..62dd22e5
--- /dev/null
+++ b/share/fstab
@@ -0,0 +1,29 @@
+# /etc/fstab: static file system information.
+#
+# noatime turns off atimes for increased performance (atimes normally aren't
+# needed); notail increases performance of ReiserFS (at the expense of storage
+# efficiency). It's safe to drop the noatime options if you want and to
+# switch between notail / tail freely.
+#
+# The root filesystem should have a pass number of either 0 or 1.
+# All other filesystems should have a pass number of 0 or greater than 1.
+#
+# See the manpage fstab(5) for more information.
+#
+
+# <fs> <mountpoint> <type> <opts> <dump/pass>
+
+# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
+#
+# NOTE: Even though we list ext4 as the type here, it will work with ext2/ext3
+# filesystems. This just tells the kernel to use the ext4 driver.
+#
+# NOTE: You can use full paths to devices like /dev/sda3, but it is often
+# more reliable to use filesystem labels or UUIDs. See your filesystem
+# documentation for details on setting a label. To obtain the UUID, use
+# the blkid(8) command.
+
+#LABEL=boot /boot ext4 noauto,noatime 1 2
+#UUID=58e72203-57d1-4497-81ad-97655bd56494 / ext4 noatime 0 1
+#LABEL=swap none swap sw 0 0
+#/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
diff --git a/share/group b/share/group
new file mode 100644
index 00000000..b5035ff6
--- /dev/null
+++ b/share/group
@@ -0,0 +1,28 @@
+root::0:root
+bin::1:root,bin,daemon
+daemon::2:root,bin,daemon
+sys::3:root,bin,adm
+adm::4:root,adm,daemon
+tty::5:
+disk::6:root,adm
+lp::7:lp
+mem::8:
+kmem::9:
+wheel::10:root
+floppy::11:root
+news::13:news
+uucp::14:uucp
+console::17:
+audio::18:
+cdrom::19:
+dialout::20:
+tape::26:root
+video::27:root
+cdrw::80:
+usb::85:
+input::97:
+users::100:
+portage::250:portage
+utmp:x:406:
+nogroup::65533:
+nobody::65534:
diff --git a/share/issue.devfix b/share/issue.devfix
new file mode 100644
index 00000000..ea7ae0c1
--- /dev/null
+++ b/share/issue.devfix
@@ -0,0 +1,21 @@
+-----------------------------------------------------
+Your system seems to be missing critical device files
+in /dev ! Although you may be running udev or devfs,
+the root partition is missing these required files !
+
+To rectify this situation, please do the following:
+mkdir /mnt/fixit
+mount --bind / /mnt/fixit
+cp -a --remove-destination /dev/* /mnt/fixit/dev/
+umount /mnt/fixit
+rmdir /mnt/fixit
+
+You may refer to these instructions at /etc/issue.
+If you previously had an issue file, it has been
+backed up at /etc/issue.devfix. Once you've fixed
+your system, you will have to restore your old issue
+file in order to get rid of this warning.
+
+Thanks for using Gentoo ! :)
+http://bugs.gentoo.org/40987
+-----------------------------------------------------
diff --git a/share/passwd b/share/passwd
new file mode 100644
index 00000000..28b54e85
--- /dev/null
+++ b/share/passwd
@@ -0,0 +1,13 @@
+root:x:0:0:root:/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/adm:/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
+news:x:9:13:news:/var/spool/news:/bin/false
+uucp:x:10:14:uucp:/var/spool/uucp:/bin/false
+operator:x:11:0:operator:/root:/sbin/nologin
+portage:x:250:250:portage:/var/tmp/portage:/bin/false
+nobody:x:65534:65534:nobody:/var/empty:/bin/false
diff --git a/share/shadow b/share/shadow
new file mode 100644
index 00000000..47c6eb77
--- /dev/null
+++ b/share/shadow
@@ -0,0 +1,13 @@
+root:*:10770:0:::::
+halt:*:9797:0:::::
+operator:*:9797:0:::::
+shutdown:*:9797:0:::::
+sync:*:9797:0:::::
+bin:*:9797:0:::::
+daemon:*:9797:0:::::
+adm:*:9797:0:::::
+lp:*:9797:0:::::
+news:*:9797:0:::::
+uucp:*:9797:0:::::
+portage:*:9797:0:::::
+nobody:*:9797:0:::::