1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-02-24 09:23:23 -05:00

Better advice how to handle devices .. Deb with devfsd and Ex if setting up

from a system already using devfs to make a devfs=nomount system.
This commit is contained in:
freesource 2001-12-13 03:01:15 +00:00
parent 316d0bffae
commit 56383720a7
2 changed files with 10 additions and 20 deletions

View File

@ -1,4 +1,4 @@
# $Id: Example-Debian.yard,v 1.7 2001/12/11 19:42:34 freesource Exp $ # $Id: Example-Debian.yard,v 1.8 2001/12/12 05:12:46 freesource Exp $
# Generated by make_debian. # Generated by make_debian.
# Note: This is provided as an example to show how a macro distribution # Note: This is provided as an example to show how a macro distribution
@ -126,25 +126,12 @@
/etc/network/options /etc/network/options
/etc/network/spoof-protect /etc/network/spoof-protect
# Devices - optional stuff which can be picked up by devfsd. # Devices - leaving a console (just in case) and MAKEDEV if you
# want to make devices which will only exist until you reboot or halt
# the system. If you need devices which last from one invocation to
# the next, install devfsd and edit /etc/devfs/devices.
/dev/MAKEDEV # a link /dev/MAKEDEV # a link
/dev/mem
/dev/kmem
/dev/null
/dev/zero
/dev/ram*
/dev/console /dev/console
/dev/tty[0-9]
/dev/hd[abcd]*
/dev/ttyS[0-9]
/dev/fd0*
/dev/sd*
#/dev/cdrom
#/dev/modem
/dev/pts*
/dev/ptmx
/dev/initctl
/dev/urandom
# Empty directories with no stuff. # Empty directories with no stuff.
/mnt /mnt

View File

@ -1,4 +1,4 @@
# $Id: Example.yard,v 1.12 2001/12/11 05:40:39 freesource Exp $ # $Id: Example.yard,v 1.13 2001/12/11 19:14:08 freesource Exp $
# Example.yard # Example.yard
# #
# Creates a minimalistic multi-user runlevel root filesystem with getty. # Creates a minimalistic multi-user runlevel root filesystem with getty.
@ -8,7 +8,10 @@
# Create either as a normal user or root. # Create either as a normal user or root.
# #
# Works both with and without devfs, i.e devfs=nomount, assuming the correct # Works both with and without devfs, i.e devfs=nomount, assuming the correct
# replacement inittab is used. # replacement inittab is used. In order to create a non-devfs from a host
# system using devfs, either manually mknod /dev/tty[0-2] (major 4 minor 0-2)
# or have devfsd automatically make these devices every time the root
# filesystem starts.
############################################################################# #############################################################################
# #