freebsd-dev/sbin
David Greenman 6e1173dc29 In past releases of FreeBSD, I have used the exit status of "ping" to
determine whether a connection to a given machine is up or not.

In FreeBSD 2.0 (and therefore, I assume, BSD 4.4) the exit code of ping
is always zero, even if no packets were received.

I would like to propose the following change to /usr/src/sbin/ping/ping.c
to restore this useful behaviour:

Submitted by:	Denis Fortin
1994-11-29 16:09:56 +00:00
..
adjkerntz -i case goes to background pause and acts like -a case on receiving 1994-11-03 03:16:16 +00:00
badsect Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
bsdlabel disklabel will dump core if you give it too few numbers to process 1994-09-26 04:45:11 +00:00
clri Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
comcontrol Fix punctuation. 1994-09-05 13:54:02 +00:00
disklabel disklabel will dump core if you give it too few numbers to process 1994-09-26 04:45:11 +00:00
dmesg Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
dump Fixed an evil bug where rawname() could write across the boundaries of 1994-10-28 17:26:27 +00:00
dumpfs Corrected message when no rotational position table is found. 1994-10-01 16:53:53 +00:00
dumplfs fix another BLODDY ABSOLUTE .PATH !!!! :-< 1994-11-20 22:28:09 +00:00
fastboot Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
fdisk Don't write outside of partp[] if the user gives an invalid partition 1994-10-25 17:46:53 +00:00
fsck Woops, last patch was by Wolfgang Solfrank. 1994-09-09 11:16:03 +00:00
fsck_ffs Woops, last patch was by Wolfgang Solfrank. 1994-09-09 11:16:03 +00:00
fsck_ifs Woops, last patch was by Wolfgang Solfrank. 1994-09-09 11:16:03 +00:00
ft Update this to the latest version from Steve Gerakines. This is an easy 1994-06-22 04:49:04 +00:00
i386 NetBSD -> FreeBSD 1994-11-19 17:55:35 +00:00
ifconfig Add parameters "compress", "normal" and "noicmp" for the slip usage. 1994-11-20 19:45:58 +00:00
init revision 1.6 1994-10-14 17:15:40 +00:00
ip_mroute_mod Makefile to generate the ip_mroute_mod.o LKM. After talking this over 1994-09-14 22:11:51 +00:00
ipfw Interface changes to support additions to firewall. 1994-11-28 12:34:37 +00:00
ldconfig Changes from Paul Kranenburg which bring us into sync with his sources: 1994-06-15 22:41:19 +00:00
md5 Incorproate version of md5 placed into public domain by RSA. 1994-10-29 23:58:02 +00:00
mknod Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
modload Fix one more _PATH_UNIX. 1994-09-24 03:18:32 +00:00
modunload Killed explicit OS specification. 1994-08-19 13:40:41 +00:00
mount Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
mount_cd9660 Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
mount_fdesc Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
mount_ifs Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
mount_kernfs Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
mount_lfs Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
mount_msdos NetBSD -> FreeBSD 1994-11-19 17:55:35 +00:00
mount_msdosfs NetBSD -> FreeBSD 1994-11-19 17:55:35 +00:00
mount_nfs Correct a litle typo in an error message: PRC -> RPC. 1994-11-26 13:57:46 +00:00
mount_null This time: an absolute -I :-< 1994-11-20 22:41:03 +00:00
mount_nullfs This time: an absolute -I :-< 1994-11-20 22:41:03 +00:00
mount_portal And another absolute path -I :-< 1994-11-20 22:42:16 +00:00
mount_portalfs And another absolute path -I :-< 1994-11-20 22:42:16 +00:00
mount_procfs Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
mount_umap Whoops. 1994-11-20 22:46:14 +00:00
mount_umapfs Whoops. 1994-11-20 22:46:14 +00:00
mount_union Guess what 1994-11-20 22:47:52 +00:00
mount_unionfs Guess what 1994-11-20 22:47:52 +00:00
mountd Automatically load NFS and a bevy of other filesystems. 1994-09-22 22:17:02 +00:00
newfs Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
newlfs Another absolute path... Two actually. 1994-11-20 23:01:27 +00:00
nfsd Automatically load NFS and a bevy of other filesystems. 1994-09-22 22:17:02 +00:00
nfsiod Automatically load NFS and a bevy of other filesystems. 1994-09-22 22:17:02 +00:00
nologin Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
ping In past releases of FreeBSD, I have used the exit status of "ping" to 1994-11-29 16:09:56 +00:00
quotacheck Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
rdisc Router Discovery from Sun Microsystems 1994-09-30 21:16:09 +00:00
reboot Install aliases "fasthalt" and "fastboot" for halt and boot respectively. 1994-08-21 05:48:34 +00:00
restore Fix endian bug introduced at Berkeley during the Net2->4.4-lite transition. 1994-09-08 01:06:46 +00:00
route Missing 'break' after setting interface route flag was causing interface 1994-09-15 08:35:37 +00:00
savecore Get rid of _PATH_UNIX completely; use getbootfile(3) instead. 1994-09-24 00:08:43 +00:00
scsiformat BSD 4.4 Lite sbin Sources 1994-05-26 06:35:07 +00:00
shutdown Submitted by: M.C. Wong 1994-11-27 23:52:13 +00:00
slattach Check exit code of the dialer, from asa@gw.cronyx.msk.su 1994-11-14 20:17:36 +00:00
startslip Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
swapon Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
sysctl Remove machdep.color_display 1994-10-18 03:41:16 +00:00
sysinstall Sectors field too narow (6 digits only), increase it to 7 1994-11-24 21:56:03 +00:00
tunefs Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
umount From njw@cs.city.ac.uk (Nick Williams): 1994-11-04 17:51:37 +00:00
DISCLAIMER Router discovery code - Courtesy Sun Microsystems 1994-09-30 20:47:35 +00:00
Makefile add md5 1994-10-29 23:58:55 +00:00
Makefile.inc Don't build /sbin shared. 1994-05-28 03:56:49 +00:00