Browse Source

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.
master
freesource 23 years ago
parent
commit
56383720a7
  1. 23
      yard/templates/Example-Debian.yard
  2. 7
      yard/templates/Example.yard

23
yard/templates/Example-Debian.yard

@ -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.
# Note: This is provided as an example to show how a macro distribution
@ -126,25 +126,12 @@
/etc/network/options
/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/mem
/dev/kmem
/dev/null
/dev/zero
/dev/ram*
/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.
/mnt

7
yard/templates/Example.yard

@ -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
#
# Creates a minimalistic multi-user runlevel root filesystem with getty.
@ -8,7 +8,10 @@
# Create either as a normal user or root.
#
# 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.
#############################################################################
#

Loading…
Cancel
Save