Home | History | Annotate | only in /src/etc/etc.sun2
History log of /src/etc/etc.sun2
RevisionDateAuthorComments
 1.28 24-Oct-2003  jdolecek switch over to unified MAKEDEV
 1.27 24-Oct-2003  jdolecek fix pasto in pty target
 1.26 10-Oct-2003  jdolecek reassing majors for crypto and pf to use the newly defined MI major range
 1.25 03-Oct-2003  dsl Add a /dev/constty == /dev/console but with minor 1.
Use for tty sessions on 'console' so that output doesn't pinched by anyone
using TIOCCONS to get kernel and system messages.
 1.24 05-Sep-2003  dsl Put back port specific majors for ptys
 1.23 30-Aug-2003  dsl Change the way pseudo tty devices are generated in order to avoid
any pipes and running other commands (eg dd).
Measurable speeds up creating pseudo ttys.
(there has to be a better way than editing 51 files! - tedious at only
6 key presses per file)
 1.22 22-Aug-2003  itojun create /dev/crypto
 1.21 27-Jul-2003  itojun reserve cdev major # for PF. ok'ed by technical-exec
 1.20 27-Apr-2003  ragge Add ksyms to "std" devices.
 1.19 17-Apr-2003  fvdl Add an 'init' target, that creates the device nodes in the case where
MAKEDEV is being called from init(8) to create an MFS /dev. For most
ports, this is the same as 'all'. The only exceptions are i386 and
x86_64.
 1.18 21-Oct-2002  lukem whitespace consistency cleanup
 1.17 04-Oct-2002  elric Include cgd on the list of things to be mknod(8)ed on all arches.
 1.16 09-Aug-2002  lukem - in local), only run $0.local if it is an existing file
(prevents spurious warning for mfs /dev, amongst other things)
- for mipsco, news68k, newsmips: ensure that "umask 77" is run after $0.local
- for playstation2: add local) target, and use in all) (for consistency)
 1.15 18-Jun-2002  wiz Update comment on how to regenerate MAKEDEV(8) after changing the
MAKEDEV script. Not that anybody acts on it, but it's nicer if it's correct.
 1.14 17-Jun-2002  christos Add device creation support for systrace.
 1.13 17-Jun-2002  fredette When making devices for the ramdisk, instead of making character
devices for CD-ROMs, which aren't useful on the ramdisk, make
block devices instead. This makes it easier to boot a CD-ROM
and install a miniroot from same.
 1.12 22-Apr-2002  fredette branches: 1.12.2;
Added support for the __ramdisk pseudo-argument. When given,
we make fewer devices to conserve inodes on the ramdisk.
 1.11 13-Mar-2002  simonb Remove trailing semicolons from lines that don't need them.
TABify many lines.
 1.10 04-Mar-2002  lukem various cleanups inspired by etc.i386/MAKEDEV:

* use "ln -fs foo bar" instead of "rm -f bar; ln -s foo bar"

* remove unnecessary chown root or chgrp wheel directives; older code here
didn't bother doing this, so why be inconsistent

* when making directories, don't use -p and don't redirect stdout to /dev/null

* clean up whitespace

* wrap the main parser code in a function makedev(), and call makedev
instead of "sh $0". (this is a bit faster)

* don't barf when we have fdesc mounted; just skip the devices fdesc provides


(these files should really be automagically generated...)
 1.9 03-Mar-2002  toshii Use a tab instead of 7 spaces.
 1.8 25-Feb-2002  atatat Change a 62 to a 16, so that the proper number of slots is skipped.
Fixes PR 15650.
 1.7 02-Feb-2002  tls Fix minor mistake made while increasing number of pty devices: where we had
"pty0 pty1 pty2 pty3" before, for a total of 64 device nodes, we now want
just "pty0" for a total of 62 -- the original commit had "pty0 pty1" for a
total of 124, which ate too many inodes and made "ls /dev" a bit messy.
 1.6 02-Feb-2002  tls Add support for many more (930 or 992) ptys than the current 256.

Changes taken from the i386 MAKEDEV. Note that the unusual use of 'dd'
to index an array was chosen because 'dd' is on all ports' install media.

This form of this change comes from Andrew Brown; the original idea to
bump the number of ptys this way comes from Brian Marcotte at Panix.
 1.5 19-Jan-2002  oster Update the various MAKEDEV's to reflect the default of 8 RAIDframe devices.
 1.4 13-Jan-2002  manu Added clockctl
 1.3 19-Dec-2001  wiz Standardize scsibus* description.
 1.2 13-Jul-2001  fredette Renumbered the minors on the tty devices now that
the keyboard and mouse are on ttys now.
 1.1 18-May-2001  fredette Added sun2 etc files.
 1.12.2.2 10-Aug-2002  lukem Pull up revision 1.16 (requested by lukem):
- in local), only run $0.local if it is an existing file
(prevents spurious warning for mfs /dev, amongst other things)
- for mipsco, news68k, newsmips: ensure that "umask 77" is run after $0.local
- for playstation2: add local) target, and use in all) (for consistency)
 1.12.2.1 18-Jun-2002  lukem Pull up revision 1.13 (requested by fredette in ticket #296):
When making devices for the ramdisk, instead of making character
devices for CD-ROMs, which aren't useful on the ramdisk, make
block devices instead. This makes it easier to boot a CD-ROM
and install a miniroot from same.
 1.4 21-Dec-2003  lukem Rework MAKEDEV:

* Use "mknod -F netbsd -r" to create nodes, instead of
"rm ; mknod; chmod; chown".
This means permissions & ownership of existing nodes will
not be changed.
This is up to 30% faster when populating an empty /dev,
and nearly 2x faster when re-running on an existing /dev.

* New options:
-f force change of permission & ownership of existing
devices
-m mknod override name/path of mknod program
(which defaults to $TOOL_MKNOD, then "mknod").
-s generate mtree(8) specfile instead of creating devices

* Remove /usr/etc from $PATH; not needed anymore.

* Provide functions to create devices & directories:
mkdev name [b|c] major minor [mode{=600} [gid{=0} [uid{=0}]]]
create device node `name' with the appropriate permissions
lndev src target
create a symlink from src to target
makedir dir mode
create directory with appropriate mode

* UIDs and GIDs are hardcoded in at MAKEDEV generation time.
(Unfortunately there's not a simple way of determining a GID
a la "id -n user" for determining a UID).

This was tested by generating MAKEDEV for each MACHINE,MACHINE_ARCH
combination and comparing the results of "MAKEDEV all" from the
previous version to the new one.
(This testing actually highlighted mistakes in the previous configuration!)


Simplify distrib/common/Makefile.makedev to use "MAKEDEV -s"
 1.3 24-Oct-2003  jdolecek sync with reality, put back some entries mistakely omitted
in the initial conversion from MD MAKEDEV
 1.2 19-Oct-2003  jdolecek determine the platform number of disk partitions by looking
at MAXPARTITIONS/OLDMAXPARTITIONS in kernel sources, so that it wouldn't
need to be specified separately in MAKEDEV.conf

change platform MAKEDEV.conf to contain only MD targets and nothing else;
simplify the parsing in MAKEDEV.awk accordingly
 1.1 15-Oct-2003  jdolecek MD part of unified MAKEDEV
this contains information about disk partitions used by platform,
and MD MAKEDEV targets, such as 'init', MD part of 'all',
as well as any other MD-specific targets not covered by MAKEDEV.tmpl
 1.8 08-Mar-2020  rin sun2 kernel is restricted to ~2MB due to bootloader.
It seems that working kernel should be more smaller.

Strip off most kernel options, and provide by kernel modules.
Also add GENERIC kernel for NFS root instead of FFS.
 1.7 24-Jul-2007  pavel branches: 1.7.18; 1.7.80;
Add a comment reminding to update the release notes if the list of
kernels change.
 1.6 17-Dec-2002  jdolecek ttyaction is ${MACHINE}-specific, not per ${MACHINE_ARCH}
remove special ttyaction hook from etc/etc.sun[23]/Makefile.inc, it's no longer
needed
ld.so.conf is ${MACHINE}-specific, the code happened to work for i386 and sparc
only because ${MACHINE} == ${MACHINE_ARCH} there
remove basesrc/etc/ld.so.conf and its special vax/ns32k/m68k hook in Makefile -
vax & m68k are ELF now, and ns32k doesn't need to be handled here
 1.5 02-Dec-2002  lukem consistency tweaks
 1.4 02-Dec-2002  lukem - add snap_post, which makes "clean depend all release" in ../distrib/
for all platforms.
- remove now unnecessary replicated code in the various snap_md_post targets
- remove snap_md_pre; nothing uses it any more
- use ${NETBSDSRCDIR} and ${KERNSRCDIR} as appropriate
 1.3 02-May-2002  lukem - consistency cleanup
- ensure INSTALLATION_DIRS contains the appropriate extra directories
for a given platform
 1.2 29-Nov-2001  thorpej Change the way kernel sets are specified, and make them
more consistent. To quote the comment in etc/Makefile
that describes how it's done:

# This target builds the kernels specified by each port. A port may
# specify the following kernels:
#
# KERNEL_SETS The list of kernels that will be
# packaged into sets, named
# kern-${kernel}.tgz. These kernels
# are also placed in the binary/kernels
# area of the release package as
# netbsd-${kernel}.gz.
#
# EXTRA_KERNELS Additional kernels to place in the
# binary/kernels area of the release
# package as netbsd-${kernel}.gz, but
# which are not placed into sets. This
# allows a port to provide e.g. a netbootable
# installation kernel containing a ramdisk.
#
# BUILD_KERNELS Additional kernels to build which are
# not placed into sets nor into the
# binary/kernels area of the release
# package. These are typically kernels
# that are built for inclusion only in
# installation disk/CD-ROM/tape images.
#
 1.1 18-May-2001  fredette Added sun2 etc files.
 1.7.80.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.7.18.2 24-Jul-2007  pavel Add a comment reminding to update the release notes if the list of
kernels change.
 1.7.18.1 24-Jul-2007  pavel file Makefile.inc was added on branch matt-mips64 on 2007-07-24 10:49:29 +0000
 1.4 19-Dec-2002  jdolecek use single minimal default disktab file for most archs, replacing
MD disktab where possible (everything but vax)
the MD disktab was often either empty, or contained entries even for disks
which support geometry autodetection (SCSI), and/or non-interesting/long
obsolete entries

the old records are still available in example disktab in
/usr/share/examples/disktab/disktab in case anyone would need them
 1.3 09-Apr-2002  tron Back out last change because we now have a special disktab for the
FFS regression test.
 1.2 09-Apr-2002  tron Add missing "floppy288" entry required for FFS regression test.
 1.1 18-May-2001  fredette Added sun2 etc files.
 1.2 04-May-2002  jdolecek Move the sample fstab files to /usr/share/examples/fstab/. Duplicates
or very similar configs removed.
 1.1 18-May-2001  fredette Added sun2 etc files.
 1.2 04-May-2002  jdolecek Move the sample fstab files to /usr/share/examples/fstab/. Duplicates
or very similar configs removed.
 1.1 18-May-2001  fredette Added sun2 etc files.
 1.2 21-Aug-2001  yamt chown user.group -> chown user:group

according to cvs log of basesrc/etc/etc.sun3/ttyaction and
archive of source-changes, it was backed out with MAKEDEV
because of portability issue.
but i think ttyaction doesn't have that issue as it's never
executed on non-NetBSD environment.
 1.1 18-May-2001  fredette Added sun2 etc files.
 1.6 07-Oct-2008  abs Add a constty entry, marked 'off', with otherwise the same settings
as the console. Now when coming up in single user mode the tset in
/.profile can set the terminal type correctly.
Note: I believe constty should be 'on' and console 'off', but thats a
separate discussion
 1.5 20-Jun-2004  christos branches: 1.5.26;
remove ad-hok list of pty's from port tty files, and auto-generate it so
that it is consistent, and in the proper order.
 1.4 04-Oct-2003  dsl Revert 'console' back to /dev/console (from /dev/constty)
 1.3 03-Oct-2003  dsl Change 'console' login to use /dev/constty so that its output isn't
stolen by code that requests system messages using TIOCCONS.
 1.2 13-Feb-2002  martti Added ttyp[g-zA-Z] (bin/15594).
 1.1 18-May-2001  fredette Added sun2 etc files.
 1.5.26.1 17-Jan-2009  mjf Sync with HEAD.

RSS XML Feed