Commit Graph

31 Commits

Author SHA1 Message Date
peter 195fae85fa Remove the "(not in tree)" part in the comment for PF. 2004-10-22 14:08:22 +00:00
christos a22353007b PR/27235: Jukka Salmi: MAKEDEV regression because of printf -> zeropad change 2004-10-12 14:42:08 +00:00
drochner 93f4534edf add "drvctl" template 2004-08-27 17:50:57 +00:00
bouyer dc32cbc366 Add atabus devices. 2004-08-01 21:52:09 +00:00
mrg 04f2810d39 add an entry for spif(4).
this uses a different name for the parallel ports than the openbsd
port otherwise they conflict with the magma parallel ports and you
would be unable to have both a spif and magma installed at the
same time.
2004-08-01 10:43:47 +00:00
christos d649be27ff Rework the sequence that ptys get allocated so that we don't end up with
gaps in the sequence of minor numbers as we allocate ptys. Having gaps
has 2 bad side effects:
	- ptm does not like it
	- we allocate a lot of storage that we'll never use in the pty array
	  (the current scheme allocated 62 ptys 0-15,256-301, so we needed
	   302 entries to get 64).
Now we allocate ptys in groups of 16 or 14 instead of 64, and we follow
the minor number order.
We default to 64 pty's by building pty0-3, which is all using the old
traditional pty names. Of course to do this, the shell code is a bit
convoluted.
2004-06-19 05:31:50 +00:00
christos d1fc28d7e3 don't depend on printf. 2004-06-08 19:03:14 +00:00
christos 6dd05261cf add ptm device. 2004-05-27 02:57:42 +00:00
jdolecek 5923227e2c the device name is 'verifiedexec', not 'veriexec' (the filename is 'veriexec',
tho)
2004-03-10 18:33:12 +00:00
lukem 6e46cc7242 Use "mknod -R" for "MAKEDEV -f".
Fixes problem noted by Bernd Ernesti on current-users,
with solution suggested by David Laight.
2004-03-08 23:05:37 +00:00
jdolecek fce24261df create the lpt?ctl device when making lpt? or lpa?; this device has
no meaning for 'old' lpt(4) (lpt?ctl is equal to lpt? there), but
has some special meaning for 'new', ppbus-based lpt(4)
2004-02-03 21:43:43 +00:00
bjh21 a9e6f9057b Remove references to /dev/beep. 2004-01-25 14:00:57 +00:00
jdolecek 07d4016c74 add 'wscons' to list of special arguments 2004-01-14 20:41:59 +00:00
jdolecek de7bb4305b remove incorrect veriexec entry - there is correct one here already 2004-01-14 19:23:36 +00:00
blymn bcb8ffa647 Add veriexec device 2004-01-14 05:13:53 +00:00
lukem e2288a51a0 Add warn() to display message to stderr prefixed by the script name,
and use appropriately.
2003-12-22 22:26:32 +00:00
lukem fcdfdbba5c 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"
2003-12-21 17:37:26 +00:00
lukem 6ab1279223 fix mms\* 2003-12-21 16:17:19 +00:00
lukem cb8a9610e0 be consistent in fss* 2003-12-21 15:32:59 +00:00
jdolecek 2d5a801b27 add /rescue to the PATH to find chown if /usr is not available yet
XXX chown should either be moved or we should not depend on it here

fixes PR kern/23614 by Christian Biere
2003-12-15 08:57:52 +00:00
hannken fbae381aaa The file system snapshot pseudo driver.
Uses a hook in spec_strategy() to save data written from a mounted
file system to its block device and a hook in dounmount().

Not enabled by default in any kernel config.

Approved by: Frank van der Linden <fvdl@netbsd.org>
2003-12-10 11:40:11 +00:00
isaki eb554304bd Correct typo in comment (s/x86k/x68k/) 2003-11-24 06:31:44 +00:00
tsutsui 74a31d9ed9 Update device description for hp300 MI com(4) changes. 2003-11-22 17:26:45 +00:00
jdolecek fd9cf65324 g/c the 'see foo(X)' xrefs; this info is automatically generated
into MAKEDEV(8)
2003-10-26 21:21:50 +00:00
he 706fa97ddd As a temporary workaround, use "ln -sf" to be compatible with the
checks in distrib/common/makedev2spec.awk, which insists on "-sf"
usage (which is arbuably a bug, and should be looked at more closely).
2003-10-26 12:42:55 +00:00
jdolecek 3b77895e3d adjust the device descriptions for better MAKEDEV(8) manpage output
note PF is not in tree (for the manpage)
2003-10-24 23:39:42 +00:00
jdolecek b2607ae4cb make 'sd' optional 2003-10-24 10:25:08 +00:00
jdolecek 3b5469b94c fix various mistakes, such as using hardcoded majors or typos/pastos
add some more necessary device entries
introduce makedisk_minimal() and use it to create the CD-ROM & md entries;
this procedure only creates 'a' and RAW_PART device entries
remove pf from 'all' target - it's not part of tree, so shouldn't be
created by default
2003-10-24 08:29:57 +00:00
jdolecek ad4acc4abb allow also tty[0-9] for serial ports, they are convenient synonyms
for tty0[0-9]
as pointed out by David Laight

remove spaces between makedisk_p*() functions, so the output script looks
neater once some of them are filtered out
2003-10-17 19:06:33 +00:00
jdolecek db5fa0cba5 add MI 'all' target - this calls MD 'all_md' and then creates miscellaneous
devices supported on all plaforms

and MI 'init' target, which just calls 'all'; this is used if platform
doesn't define it's own 'init' target
2003-10-15 19:16:01 +00:00
jdolecek 5351b51128 the main parts of new unified MAKEDEV framework - MAKEDEV template
and script for generating the MD MAKEDEV
this is work in progress, some parts are still missing
2003-10-13 09:37:45 +00:00