Commit Graph

822 Commits

Author SHA1 Message Date
thorpej 797e996927 Fix lookup_media_word() to properly distinguish between the "autoselect"
media type and error.  (oops!)
1997-03-18 05:04:50 +00:00
thorpej af71bad528 Do that last change somewhat differently; We need to know the
currently selected media, and thus cannot allow E2BIG, since the
top-level kernel ioctl code won't perform the copyout of the
ifmediareq if it sees an "error".
1997-03-18 01:50:01 +00:00
thorpej 55e07c34a2 Ignore E2BIG in domediaopt() like we do in setmedia(). Oversight pointed
out by Andrew Gallatin <gallatin@CS.Duke.EDU>.
1997-03-18 00:37:34 +00:00
thorpej 4fcebbc43a Add support for BSD/OS-style media selection:
- new "media" keyword specified media to select:
		ifconfig de0 media utp
	- new "mediaopt/-mediaopt" keywords for setting/clearing
	  media options (such as full-duplex)
	- new "-m" flag to display all supported media types for
	  a given interface.
Also, some generial cleanup of argument parsing while I was there.
Manual page updates from Jeremy Cooper <jeremy@netbsd.org>.
1997-03-17 03:08:46 +00:00
lukem cb77572e20 use mkstemp() instead of mktemp() 1997-03-16 05:25:38 +00:00
perry e27abe4739 Nuke obsolete special case .if for amigas. 1997-03-14 22:49:51 +00:00
mycroft 7f2e03747e Insert some closelog()s, so we don't leave the syslog socket
on fd 0.
1997-03-14 00:44:35 +00:00
cgd 61d5abc37c string.h for protos 1997-03-14 00:00:26 +00:00
christos 9ee27f02a1 Fix PR/3327: rcvd_tbl index was assumed to be in host order, creating
incorrect dup reports. From enami tsugutomo
1997-03-13 16:19:10 +00:00
perry 204351f3a5 The boot_${ARCH}.8 man files never belonged in reboot -- they have
been moved to man8.${ARCH}/boot.8. Note that this means that the
references in the pages to boot.8 are now actually true on many
architectures instead of being a lie on all.
1997-03-13 04:04:54 +00:00
christos b9f439f21f Fix PR/3322, reference to non existant program. 1997-03-12 13:57:51 +00:00
christos fe4e4bb7a5 - remove -g from Makefile
- fix setsockopt and recvfrom casts.
1997-03-11 21:53:41 +00:00
christos 203dfd3486 - Use err, warn, errx
- Don't use floor, because we would need libm
- Add maxwait option from old ping
- Add a centralized gethost() to get hostnames
- Fix PR/1014 and PR/2017; (adds -D, -T options, and -I and -t for unicast)
- Document exit status
1997-03-11 21:22:49 +00:00
mikel d2057dd292 add support for MNT_NOATIME; from Lennart Augustsson in PR bin/3304. 1997-03-10 03:59:53 +00:00
christos 3d71dbfd9b fix reversed test for maxpartitions. 1997-03-09 00:35:44 +00:00
christos 649ae0edb1 Jason says: Use getmaxpartitions(3) to determine the number of partitions
allowed in this architecture.
1997-03-09 00:14:17 +00:00
christos 72fbacb380 Add -i (interactive mode to create/edit labels) inspired by the SunOS/Solaris
format/partition command.
1997-03-08 23:46:08 +00:00
cgd 245ccce34c Fix NetBSD RCS ID tag 1997-03-08 19:46:43 +00:00
mouse 80c0d60f84 alternate -> alternative, per PR 2643 1997-03-08 13:47:08 +00:00
christos 6c522b4c82 Added fsirand 1997-03-07 20:17:19 +00:00
christos 4de052219b First pass at fsirand. Needs /dev/random to do things right. 1997-03-07 20:16:39 +00:00
thorpej ee5ba12678 Don't get stuck in an infinite loop if the msgbuf index is 0 or 1, from
enami tsugutomo <enami@ba2.so-net.or.jp>, PR #3285.
1997-03-06 23:55:12 +00:00
christos af9e021593 Added newfs_msdos 1997-03-01 19:46:36 +00:00
christos d5fff03ed1 From FreeBSD's mkdosfs:
- KNF
	- cleaned up a few typos.
	- use the msdosfs header files.
	- separated Makefile and Makefile.boot, since we cannot build
	  bootcode.h (yet)
ToDo:
	- Make it work on hard disks; only works on floppies
	- Make it accept an msdos.sys io.sys and a command.com, to make
	  a real dos bootable disk.
1997-03-01 19:42:54 +00:00
mikel b31dfde1ef set bflag so that 'dump bd M N' works properly. fix from Juergen
Hannken-Illjes in PR bin/3254.
1997-02-27 06:17:23 +00:00
carrel 533cb559da Remove uid checks since the kernel now handles this and route(1) is no
longer setuid.
Document the "Permission denied" msg in the man page since this is
_slightly_ less clear than route(1)'s old error msg.
1997-02-22 21:22:24 +00:00
thorpej c7e33aad6c Now that non-superuser can open the routing socket, this program no
longer needs to be setuid-root.  Superuser status is required to
alter the routing table, but is enforced by the kernel.
1997-02-22 03:49:31 +00:00
thorpej dd72c4e12f If root has no password, don't lock the operator out of single-user
mode if the console is "insecure".
1997-02-22 02:19:51 +00:00
mikel 9b8074878a use += instead of = for CFLAGS 1997-02-21 07:47:49 +00:00
mrg 1cf9e54f49 link ipl.4 to ipfilter.4 1997-02-18 21:28:53 +00:00
mrg cda4cfcedd note that ipfilter also includes PFIL_HOOKS. 1997-02-18 21:28:19 +00:00
matthias d67f3db782 The pc532 port now uses the new libkvm. 1997-02-08 09:38:06 +00:00
christos e7512e5a5e - resolve conflicts.
- remove md5 stuff; it is in libc.
- define MCAST_PPP_BUG, until we fix if_ppp.c
1997-02-03 22:02:51 +00:00
christos 6cf225561b New version from ftp.sgi.com:sgi/src/routed.tar.Z 1997-02-03 21:06:26 +00:00
veego 8a514d0afa Remove the last change. fil.fr_icode ist char and NOT unsigned char.
Fix pr#3169
1997-01-31 10:10:11 +00:00
tls aeb2ee9ac9 add support for noatime mount flag 1997-01-30 09:56:10 +00:00
tls d0c43309b5 add support for noatime mount flag 1997-01-30 09:52:26 +00:00
thorpej 17aa7541b7 Add support to display the ccd-specific statistics kept by the ccd
driver.
1997-01-30 04:02:08 +00:00
mark ab4940de30 Cast -1 to an unsigned char for the test with fil.fr_icode as the fr_icode
field is declared as an unsigned char.
1997-01-29 18:39:47 +00:00
ws ac112dcf50 Shifting by 32 on a 32-bit machine is undefined
(and in fact -1 << 32 results in -1 on e.g. x86)
1997-01-29 12:07:26 +00:00
mark 2ab96deb9a Use an integer rather than a char for the getopt() return value in main()
in order to make it work with architectures that use unsigned chars.
1997-01-29 01:29:09 +00:00
perry b1998ea4df fix some nits from SAITOH Masanobu, pr-3149 1997-01-27 15:01:58 +00:00
mikel 8cd71f8b62 eliminate duplicate paragraph and fix typos; PR misc/3128 1997-01-23 06:34:39 +00:00
mikel 7f50ef911a eliminate possibility that execle() will be called with one too many
arguments.
1997-01-23 05:48:06 +00:00
perry ea9e41ab25 fix .I which should be .Em, from SAITOH Masanobu in pr-3109 1997-01-17 05:04:09 +00:00
perry 7665c8ee25 close pr-2717 from Manuel Bouyer <bouyer@lix.polytechnique.fr>
Replaces reference to hand patching securelevel kernel variable
with reference to options INSECURE.
1997-01-17 02:56:27 +00:00
perry 5714664cf5 fix pr 2977 -- only try to dump ufs/ffs partitions 1997-01-16 22:00:30 +00:00
cgd 7bd18db5e6 pointer cast fixups for 64-bit cleanliness 1997-01-14 06:47:10 +00:00
lukem 6c8a1cc329 don't call el_parse() if there's no commands (el_parse() now checks this,
but more safety is good)
1997-01-11 06:50:53 +00:00
lukem 5c9d30eb5f the editline(3) man page now exists (but not as libedit(3)) 1997-01-11 05:51:40 +00:00