From e81dfb07f53e817a83e3c3a7c247cdb57a507fdf Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 3 Jan 2023 23:56:37 -0600 Subject: drop OS specific support This is no longer needed since we have dropped support for *BSD. Signed-off-by: William Hubbs --- share/fstab | 29 +++++++++++++++++++++++++++++ share/group | 28 ++++++++++++++++++++++++++++ share/issue.devfix | 21 +++++++++++++++++++++ share/passwd | 13 +++++++++++++ share/shadow | 13 +++++++++++++ 5 files changed, 104 insertions(+) create mode 100644 share/fstab create mode 100644 share/group create mode 100644 share/issue.devfix create mode 100644 share/passwd create mode 100644 share/shadow (limited to 'share') 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. +# + +# + +# 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::::: -- cgit v1.2.3-65-gdbad