I know that many of these entries are bogus and need to be revisited,
but let's get the tree working again for now and then do a pass through
looking at all the __FreeBSD__ entries, shall we?
Also initialize some fields that were never initialized before, and
simply defaulted to 0. I've never looked at this code before, now
I know why. Config needs to die. Horribly.
most common cd9660 and nfs options like God intended them. (It is now
possible to say
mount -o ro,soft,bg,intr there:/foo/bar /foo/bar
again.) This whole getmntopt() business is an incredible botch;
it never should have been anything more than a wrapper around
getsubopt(3). Because if the way the current hackaround is implemented,
options which take arguments (like the old `rsize' and `wsize') are still
unavailable, and must be accessed the new, broken way.
(It's unimaginable how Berkeley managed to screw up one of the few things
about NFS that Sun actually got right to begin with!)
Could you please commit this patch to usr.sbin/crunch/examples ?
This should make fixit.conf compilable again.
VI needs some hacks.
[Note: I'm not sure how relevant this example is anymore, but then it's only
an example]
Submitted by: mr
Make swapinfo use libc functions for obtaining device information.
Note: swapinfo should actually be deprecated, not fixed. pstat -s performs
the same function.
Submitted by: jhay
1) malloc.h doesn't exits in 2.0.
2) Makefile.inc wasn't picked up so one of the build steps (install?)
failed.
3) LIBMD wasn't depended on.
4) "ctm foo" dumped core because "foo" doesn't have a '.' in it.
Bruce
I updated the mkCTM stuff while I was at it anyway. /phk
Reviewed by: phk
Submitted by: bde
which is enabled by default (use `-c' to get the old format). The new
format looks like this (only the values are correct; this was taken on my
machine with a slightly old kernel):
Device St Parent Description
---------- -- ---------- --------------------------------------------------
isa0 NC -
sc0 NC isa0 Parallel printer adapter
ed0 NC isa0 SMC8216/SMC8216C
sio0 NC isa0 RS-232 serial port
sio1 NC isa0 RS-232 serial port
fdc0 NC isa0 floppy disk/tape controller
fd0 NC fdc0 floppy disk
wdc0 NC isa0 ST506/ESDI/IDE disk controller
wd0 NC wdc0 ST506/ESDI/IDE disk
npx0 NC isa0 Floating-point unit
Note that many of these fields could be made more informative; I tried to make
my changes as unintrusive as possible. See the `mcd' driver for an example
of one which actually does something with the `state' field.
managed by kern_devconf.c. A useful feature is that the following
script generates almost well-formed config-file lines for all ISA devices
in the system:
lsdev -t isa | awk '{ print "device $0" }'
lsdev -t disk | awk '{ print "disk $0" }'