Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.83 |
|
11-Sep-2016 |
deraadt |
extra spaces
|
Revision tags: OPENBSD_6_0_BASE
|
#
1.82 |
|
12-Mar-2016 |
espie |
tweak MAKEDEV.mi to use new makedev(8) capabilities and speed it up.
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
|
#
1.81 |
|
05-Nov-2012 |
jasper |
Run chown/chgrp iff the preceding mknod call worked; thus if if there's actually something to chown/chgrp.
ok todd@
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
|
#
1.80 |
|
18-Apr-2011 |
thib |
Deprecate vnds in favour of svnds.
In effect, this removes the "old" vndX nodes, and renames the svndX nodes to vndX.
Old svndX nodes will still continue to work though, for now.
Cleanup accordingly.
ok deraadt@, todd@ comments and ok on the man page bits from jmc@
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.79 |
|
25-Jan-2009 |
miod |
Remove /dev/drum and related code.
|
Revision tags: OPENBSD_4_4_BASE
|
#
1.78 |
|
14-Jun-2008 |
todd |
redo the way MAKEDEV files are generated get it in, deraadt@
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
|
#
1.77 |
|
06-Oct-2005 |
otto |
Greatly speedup MAKEDEV by using arrays instead of very long strings that get copied around a lot. Needs sh(1) max array index bump I committed earlier. ok todd@ deraadt@
|
#
1.76 |
|
04-Oct-2005 |
otto |
oops, typo
|
#
1.75 |
|
04-Oct-2005 |
otto |
Removing files is handled by M(), and setting the group to operator as well, so no need to do that on our own in dodisk(). ok todd@ deraadt@
|
#
1.74 |
|
04-Oct-2005 |
otto |
Do not buikd mklist as a string, it is not used anyway. Nice speedup of MAKEDEV on slower archs. ok fries@ deraadt@
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE
|
#
1.73 |
|
07-Feb-2005 |
david |
indentation whitespace nits (saves a few bytes even)
|
Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.72 |
|
16-Feb-2004 |
miod |
Move the real knowledge of MI devices to a specific file, MAKEDEV.common. While there, allow the comment char and the divert section for md script fragments to be overriden. No functional change (yet).
disabused ok deraadt@
|
#
1.71 |
|
14-Feb-2004 |
todd |
copyright 2004 as well, prompted/reminded by miod
|
#
1.70 |
|
13-Feb-2004 |
miod |
We have no such thing as non-wscons ttyE. "looks ok" drahn@ deraadt@
|
#
1.69 |
|
13-Feb-2004 |
miod |
Typo in tty description.
|
#
1.68 |
|
10-Feb-2004 |
millert |
Add the ptm device to pty(4). By opening /dev/ptm and using the PTMGET ioctl(2), an unprivileged process may allocate a pty and have its owner and mode set appropriately. This means that programs such as xterm and screen no longer need to be setuid. Programs using the openpty() function require zero changes and will "just work".
Designed by beck@ and deraadt@; changes by beck@ with cleanup (and a rewrite of the vnode bits) by art@ and tweaks/bugfixes by me. Tested by many.
|
#
1.67 |
|
05-Feb-2004 |
todd |
rm SunOS support, ok deraadt@, docs work in progress
|
#
1.66 |
|
13-Jan-2004 |
todd |
shovel ttye to md; ok miod@
|
#
1.65 |
|
12-Jan-2004 |
todd |
+ alph2d() (thanks dr!), allow ttyU's a-zA-Z to be created
|
#
1.64 |
|
12-Jan-2004 |
todd |
utty[0-9a-f] -> /dev/ttyU[0-9a-zA-Z]; prompted by & ok deraadt@
|
#
1.63 |
|
15-Oct-2003 |
todd |
typo found by marc
|
#
1.62 |
|
14-Oct-2003 |
todd |
allow 'MAKEDEV tty08 - tty7f' to function now, prompted by theo
|
#
1.61 |
|
11-Oct-2003 |
tedu |
larger svnd gap
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.60 |
|
18-Jun-2003 |
todd |
switch to share/misc/license.template
|
#
1.59 |
|
21-May-2003 |
jason |
add bpp devices; with much help from todd
|
#
1.58 |
|
10-Apr-2003 |
millert |
POSIX chown; Leandro Costa todd@ OK
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.57 |
|
16-Mar-2003 |
miod |
Remove leftovers from non-wscons sparc. There might be more left to prune. This does not affect the output, so no regen is necessary.
|
#
1.56 |
|
06-Jan-2003 |
todd |
one more tweak for _lkm; ok deraadt@
|
#
1.55 |
|
06-Jan-2003 |
deraadt |
_lkm group for modstat(8); millert ok
|
#
1.54 |
|
31-Dec-2002 |
miod |
Prepare for the removal of amiga and sun3 platforms from the tree. There has not been enough activity and interest towards these platform to keep them lying in the tree.
|
#
1.53 |
|
05-Dec-2002 |
kjc |
remove altq entries. I should have done these before MAKEDEV. pointed out by todd@
|
#
1.52 |
|
16-Oct-2002 |
todd |
move md things into md files (pass 1) as discussed a long time ago ok miod@
|
Revision tags: OPENBSD_3_2_BASE
|
#
1.51 |
|
29-Aug-2002 |
todd |
add tty[DEF]{[0-9a-f],cfg} for sparc and sparc64 for wscons
|
#
1.50 |
|
12-Aug-2002 |
miod |
MAKEDEV and /etc/* changes for wscons on sparc
|
#
1.49 |
|
18-Jun-2002 |
fgsch |
this is better.
|
#
1.48 |
|
18-Jun-2002 |
fgsch |
Add gpr, i386 only; this may change in the near future to something more generic as /dev/smartcard or similar. deraadt@ ok.
|
#
1.47 |
|
09-Jun-2002 |
todd |
remove the `real' Id string in generated output, keeps conflicts down miod@ ok, requested a long time ago by misc
|
#
1.46 |
|
16-May-2002 |
provos |
add systrace device okay fries@
|
#
1.45 |
|
21-Apr-2002 |
miod |
Add ramdisk nodes to MAKEDEV.
|
#
1.44 |
|
17-Apr-2002 |
miod |
Remove duplicate device list for "MAKEDEV all". No change in the generated output, so no regen needed. ok todd@
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.43 |
|
11-Apr-2002 |
deraadt |
pci should be 600; matthieu ok
|
#
1.42 |
|
31-Mar-2002 |
fgsch |
create bktr0 for i386; millert@ deraadt@ ok.
|
#
1.41 |
|
25-Feb-2002 |
todd |
- fix a 'rndrandom' vs 'random' output problem - more accurate documentation, more documentation - remove some EOL whitespace
ok deraadt@
|
#
1.40 |
|
21-Feb-2002 |
deraadt |
I should back out the base files too
|
#
1.39 |
|
21-Feb-2002 |
todd |
st0 goes on sparc ramdisk
|
#
1.38 |
|
21-Feb-2002 |
todd |
a couple more all/ramdisk tweaks a random typo
|
#
1.37 |
|
21-Feb-2002 |
todd |
fix a few devices for ramdisks re-order a few all and ramdisk targets to *try* to get lucky and escape ksh's core's
|
#
1.36 |
|
19-Feb-2002 |
todd |
pretty
|
#
1.35 |
|
19-Feb-2002 |
todd |
make wscons devices D-F possible, only used on sparc64 (D) atm. make sparc64 build ttyD{cfg,0,1,..,b} move wscons) to 'target()' macros to make the above possible
|
#
1.34 |
|
17-Feb-2002 |
deraadt |
why were there two ramdisks?
|
#
1.33 |
|
16-Feb-2002 |
deraadt |
copyright repair
|
#
1.32 |
|
15-Feb-2002 |
todd |
tweaks for vax; I must find a way of over-riding default target's, until then, this feels alot like distrib/sets .. mi global and md for everybody that's gotta be different ..
|
#
1.31 |
|
14-Feb-2002 |
todd |
o start a TODO list o properly generate scsi scanner devices o shorten pty generation shell fragment o many tweaks for vax (audio what? how did I ever think vax had audio?)
|
#
1.30 |
|
14-Feb-2002 |
todd |
fix just a tad
|
#
1.29 |
|
14-Feb-2002 |
todd |
s/,\([^ ]\)/, \1/g .. mostly. Function arguments now spaced like style(9)
|
#
1.28 |
|
14-Feb-2002 |
todd |
crank pty by one; ok millert@,deraadt@,miod@
|
#
1.27 |
|
14-Feb-2002 |
todd |
hp300 joins the party; ok millert@
|
#
1.26 |
|
10-Feb-2002 |
deraadt |
some indentation output nits
|
#
1.25 |
|
09-Feb-2002 |
drahn |
add wd* to ramdisk target for macppc, reported my matthieu
|
#
1.24 |
|
09-Feb-2002 |
deraadt |
use "ramdisk" for the ramdisk target, always
|
#
1.23 |
|
08-Feb-2002 |
todd |
prepare for invasion, sparc64 gets major number fix wrt tty[a-d] order a few places provide '[ "$DEBUG" ] && set -x' inside R() for debugging help ..
|
#
1.22 |
|
23-Jan-2002 |
todd |
tweak all) target numbers
|
#
1.21 |
|
23-Jan-2002 |
todd |
use target for ramdisk on all archs
|
#
1.20 |
|
23-Jan-2002 |
todd |
shuffle some things, arch independent targets go outside arch specific areas, build scsi tape devices ;-)
|
#
1.19 |
|
23-Jan-2002 |
todd |
s/tth/ttyh/ for sparc64
|
#
1.18 |
|
23-Jan-2002 |
todd |
o use target(name,dev,str1,str2,..) and twrget(name,dev,devstr,str1,str2,...) introduced in the last commit o order (alphabetically) the disk_q's o pull in spif/mag/bpp scripts from sparc
|
#
1.17 |
|
12-Jan-2002 |
jason |
Add _DEV entry for spif and correct spif to only create 1 bpp and 8 tty
|
#
1.16 |
|
08-Jan-2002 |
todd |
add sparc 'source'
|
#
1.15 |
|
08-Jan-2002 |
todd |
+speaker,+pdc
|
#
1.14 |
|
08-Jan-2002 |
todd |
'delete ofdisk' drahn@
|
#
1.13 |
|
08-Jan-2002 |
todd |
add mac68k 'source'
|
#
1.12 |
|
08-Jan-2002 |
todd |
add 'source'
|
#
1.11 |
|
08-Jan-2002 |
todd |
add sun3 'source'
|
#
1.10 |
|
08-Jan-2002 |
todd |
more
|
#
1.9 |
|
07-Jan-2002 |
todd |
add pci to all) (thanks drahn@) add more to all)
|
#
1.8 |
|
07-Jan-2002 |
todd |
o more devices for 'all' target o ttyCcfg is 600 not 666 o add radio o joy is 666 not 600 (current i386 MAKEDEV does this)
|
#
1.7 |
|
07-Jan-2002 |
todd |
add /dev/pci s/tzs/czs/ typo
|
#
1.6 |
|
07-Jan-2002 |
todd |
sprinklings of 'ifstep()' 'the big disk case' no longer sets vars and calls dodisk, would take more space to additionally do the 'stepping' argument (see cd\* in generated MAKEDEV)
|
#
1.5 |
|
07-Jan-2002 |
todd |
DISK_STEPPING is not used, and in any event, is not global to all disks prepare dodisk* script functions for a 7th argument, what I call disk stepping, the number to add from rd0a to rd1a minor numbers, defaulted to 16; some archs *cough*macppc*cough* still have 8 for cdroms and such
|
#
1.4 |
|
07-Jan-2002 |
todd |
add more disks to the 'all' target, rd shows up on sparc64 now ;-) s/tty/tth/
|
#
1.3 |
|
04-Jan-2002 |
todd |
add ttyC for wscons as wsdisp
|
#
1.2 |
|
04-Jan-2002 |
todd |
add usb scanners
|
#
1.1 |
|
04-Jan-2002 |
todd |
This is my m4 MAKEDEV generation system.
.mi -> edit this to add new devices .sub -> hardcore m4 here, be careful */*.md -> machine dependent information (generally device,block (& char) major)
Thanks for eyes/conversation about this over the years from espie, deraadt, johns, fgsch, hugh, weingart, mickey, and others ..
SEE ALSO . m4(1), MAKEDEV(8)
|