strictly a security hole, but neither is it a very good idea. Replace
it with a symlink to /dev/null to happify programs that expect it.
It is suggested that users of the jail environment modify the jail's
syslog.conf to not send stuff to /dev/console, but instead syslog
it somewhere else. Such as a loghost, potentially even to the host
environment's syslog.
Approved by: jkh
devices because accessible by group wheel instead of group operator.
Didn't fix fishy group for rsa*.ctl. This device should have group operator
if that is safe, or mode 600 and group wheel.
Removed ssc and uk*.
Removed bogus (redundant) chmod's to 600.
that it does not reset the printer when opened. This fixes the problem
of printing a document almost till the end and then resetting the
printer when the next print job is started.
Submitted by: Christopher Masto <chris@netmonger.net>
Also, remove all but the ums0 device from the fixit target 'to save
precious i-nodes on the fixit floppy'.
We were supposed to get these in far earlier and didn't, hence
the commit after feature freeze. A promise is a promise. :)
Submitted by: Sascha Schumann <sascha@schumann.cx>
Improve the internal mknod() to understand being passed an (optional)
user:group specification.
Don't apply root:wheel to nodes explicitly anywhere, it's the default.
Remove an odd looking uucp:wheel assignment, as it's inconsistent with
all the other tty?? devices.
5in HD 2 heads, 77 cylinders, 8 sectors/track, 1024 bytes/sector
5/3.5in DD 2 heads, 80 cylinders, 8 sectors/track, 512 bytes/sector
Meanings of the rogrammer-readeble fd name were explained by Brian
Fundakowski Feldman and Peter Wemm in hackers list and NOKUBI
Hirotaka.
Reviewed by: nyan
Fixed some style bugs for cam (superflous umask and missing newline).
Fixed bogons for apm. The pattern "apm*" matched too many things; apm
and apmctl were both made twice by `MAKEDEV all'. Hopefully no one
depends on `MAKEDEV apm0' making apm or on `MAKEDEV apm' making apmctl.
MAKEDEV can now run (with /sbin/chown and /bin/chgrp, still) without
any /usr. The default PATH for MAKEDEV is now "/sbin:/bin" to prevent
against further spammage of /usr programs in MAKEDEV. In the event
of an emergency, the variable "MAKEDEVPATH" can be used to replace
PATH, but I don't know what that emergency could be.
Let me know if you have any problems. I've tested it as well as
I could, which basically means everything except for RocketPorts.
Reviewed in principle by: peter
longer really suitable as a default to create the various /dev nodes
to be contained on the fixit floppy, since all our proud new devide
nodes finally made the fixit floppy run over...
So instead create a new target titled `fixit' which creates just the
dev nodes for a single unit per each default driver; whoever needs
more of them is free to create whatever he needs, perhaps after
killing unused nodes before. There were more than 700 /dev nodes on
the floppy before that action, and it's still around 350 now. I doubt
all the various /dev/ugen* entries are really useful on such a tool,
so people, please check, and if you feel like more could be eliminated
from that floppy, kill'em.
While i was at it, removed traces of ft(8) that still survived even
though the driver has long since been dead.
That's step #1. #2 will follow...
same names:
rover# ls -l /dev/*wd0a
crw-r----- 1 root operator 3, 0 Nov 26 20:20 /dev/rwd0a
crw-r----- 1 root operator 3, 0 Nov 26 20:20 /dev/wd0a
Notice: Over time, no earlier than FreeBSD 5.0, the "r*" names may
be discontinued. A fair number of programs and scripts need to
(un)learn some tricks before then.
This will take no effect until you either run MAKEDEV by hand or
reinstall your system.
WARNING: Kernels older than approx November 22 will not be happy
about a /dev created with MAKEDEV after this commit. Please update
your /kernel.good etc.
case instead of test where appropriate, since case allows case is a sh
builtin and (as a side-effect) allows case-insensitivity.
Changes discussed on freebsd-hackers.
Submitted by: Doug Barton <Doug@gorean.org>