freebsd-nq/usr.sbin
John Baldwin 707e509a1e Change libdisk and sysinstall to use d_addr_t rather than u_long for disk
addresses.  For arch's with 64-bit longs, this is a nop, but for i386 this
allows sysinstall to properly handle disks and filesystems > 1 TB.

Changes from the original patch include:
- Use d_addr_t rather than inventing a blkcnt type based on int64_t.
- Use strtoimax() rather than strtoull() to parse d_addr_t's from config
  files.
- Use intmax_t casts and %jd rather than %llu to printf d_addr_t values.

Tested on:	i386
Tested by:	kuriyama
Submitted by:	julian
MFC after:	1 month
2004-03-16 17:07:06 +00:00
..
ac Add a check for wtmp records which have invalid values for ut_time. Wtmp 2004-03-08 20:02:23 +00:00
accton Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
acpi Fix style breakage. 2004-03-05 02:48:22 +00:00
adduser o Add an -S option to not attempt to ascertain the validity of a shell. 2004-03-16 13:46:29 +00:00
amd Removed unnecessary dependencies on librpcsvc. 2004-02-04 11:59:08 +00:00
ancontrol fix reference to sysctl variable: machdep.an_cache_mode -> hw.an.an_cache_mode 2004-03-05 08:42:15 +00:00
apm Mark APM manpages as i386-only. 2004-01-21 13:38:17 +00:00
apmd Mark APM manpages as i386-only. 2004-01-21 13:38:17 +00:00
arlconfig Add arl(4): driver for Aironet Arlan 655 wireless adapters. 2004-03-15 22:24:28 +00:00
arlcontrol Add arl(4): driver for Aironet Arlan 655 wireless adapters. 2004-03-15 22:24:28 +00:00
arp mdoc(7) cleanups (use .Va, not .Dv, for sysctls.) 2003-10-03 07:48:56 +00:00
asf Add a "-f" flag for asf(8) which performs a search to find the each module 2003-11-04 06:38:37 +00:00
atm Use a size_t for variables that need to hold buffer lengths. 2003-07-29 13:40:52 +00:00
authpf Add skeleton build dirs for pf userland: 2004-02-28 21:50:50 +00:00
bluetooth Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
boot0cfg Get rid of duplicates. 2003-09-14 13:41:59 +00:00
boot98cfg Use ascii null char ('\0') instead of NULL. 2004-03-05 13:58:40 +00:00
bootparamd Make this compile cleanly. Switch to using rpcgen to generate 2003-10-26 05:51:51 +00:00
bsnmpd Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
btxld Make this work on different endianness machines. 2003-03-11 13:48:58 +00:00
burncd Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
cdcontrol * Auto-detect what device to use if none is specified 2003-11-17 14:02:04 +00:00
chkgrp I don't normally use my middle name, so remove it from attributions in 2004-01-25 11:39:42 +00:00
chown Use uid_t. 2003-09-07 16:43:53 +00:00
chroot Allow the optional setting of a user, primary group, or grouplist 2003-06-07 10:56:12 +00:00
ckdist - Align the function prototype of the external `crc' function with 2003-03-13 23:34:18 +00:00
config Whitespace nit. 2004-02-17 09:59:45 +00:00
cron Eliminate hard sentence breaks. 2004-03-04 19:12:27 +00:00
crunch Fix a bug that caused i386 to produce broken binaries for big-endian 2003-08-08 15:44:17 +00:00
ctm Use malloc() instead of alloca() to allocate a (potentially) large buffer 2004-01-26 04:27:22 +00:00
daemon add FBSDID 2003-07-06 12:44:11 +00:00
dconschat Normalize polling interval while the target is offline. 2004-02-20 10:59:46 +00:00
devinfo Remove unused local variable. 2004-01-04 15:51:32 +00:00
digictl style.Makefile(5) 2003-04-04 17:49:21 +00:00
diskinfo Assorted mdoc(7) fixes. 2003-05-31 18:07:09 +00:00
editmap Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
edquota Have edquota honour MAXLOGNAME rather than hardcoding the maximum 2004-02-24 20:58:16 +00:00
elf2exe The .Nm utility 2002-07-14 14:47:15 +00:00
extattr Update lsextattr(8) to use the new extattr_list_*() APIs, rather than 2003-06-05 04:30:00 +00:00
extattrctl When giving examples of how to use extattrctl(8) to configure UFS1 2003-05-14 20:31:06 +00:00
faithd Fixed the fatal bug: CFLAGS should be added to, not overridden. 2004-01-17 02:27:55 +00:00
fdcontrol Backed out previous commit (bogus addition of -static to CFLAGS). 2004-02-26 06:33:18 +00:00
fdformat From PR: 2004-01-07 05:28:57 +00:00
fdread Set size field correctly, it is number of sectors on the device, not 2004-02-25 13:43:17 +00:00
fdwrite
fwcontrol o grammar fixes 2003-12-17 10:14:11 +00:00
getfmac Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
getpmac Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
gstat Make libgeom usable by C++ programs: 2004-03-09 21:14:18 +00:00
i4b Disable constant merging in isdnd and isdnmonitor. This is a "make my 2004-01-21 16:49:05 +00:00
ifmcstat Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
inetd Revert previous change. The effect of -w or -W option is described in 2004-02-29 15:49:26 +00:00
iostat Put libdevstat before libkvm, because the former depends on the latter. 2004-02-04 10:20:43 +00:00
ip6addrctl you have to use 'install' subcommand instead of '-c' option 2003-12-26 17:10:58 +00:00
ipftest Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipresend Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipsend Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
iptest Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
IPXrouted Drop unused dependencies. 2004-02-04 10:18:05 +00:00
jail Correct typo. 2004-02-06 21:05:42 +00:00
jexec Make jexec duplicate the actions of the shell searching for an 2003-07-04 19:14:27 +00:00
jls IP addresses can be up to 15 characters long, not 12. 2003-04-22 13:24:56 +00:00
kbdcontrol Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
kbdmap mdoc(7) police: bump document date for the C rewrite, nit. 2002-12-04 14:45:48 +00:00
kernbb Fix our kernel support for Basic Block Profiling to work with GCC33. 2003-12-03 07:43:03 +00:00
keyserv Put chkey(1), newkey(8), and keyserv(8) into the crypto distribution. 2004-01-18 09:29:47 +00:00
kgmon Use correct item to track max width of list 2003-03-24 20:55:28 +00:00
kgzip Remove uneeded cast. 2003-06-11 21:37:19 +00:00
kldxref Remove bogus (void **) casts. This unbreaks the -O2 build. 2004-03-15 17:43:36 +00:00
lastlogin The .Nm utility 2002-07-14 14:47:15 +00:00
lpr Clarify the "lp" description to mention port@host syntax. 2004-02-19 18:55:55 +00:00
lptcontrol Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
mailstats Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
mailwrapper Do not install SYMLINKS if both NO_MAILWRAPPER and 2004-01-17 23:58:23 +00:00
makemap Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
manctl The .Nm utility 2002-07-14 14:47:15 +00:00
memcontrol mdoc(7) police: markup fixes. 2002-11-27 15:31:08 +00:00
mergemaster In the case where /etc/rc.d/ is empty, do not bogusly ask the user if 2004-03-07 10:10:19 +00:00
mixer Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
mld6query Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542 2003-10-24 18:26:30 +00:00
mlxcontrol
mount_nwfs style.Makefile(5): 2004-02-23 20:25:27 +00:00
mount_portalfs style.Makefile(5): 2004-02-23 20:25:27 +00:00
mount_smbfs Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
mountd Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
moused Fix serious ugliness introduced in 1.61, which leads to long delay in boot 2004-01-10 13:09:21 +00:00
mptable Make this build and work on amd64 (sledge at least). 2003-09-30 04:09:21 +00:00
mrouted Properly use strftime(): NUL terminating character is already taken into 2004-01-04 16:07:03 +00:00
mtest add FBSDID 2003-07-06 12:44:11 +00:00
mtree Get rid of "lineno: 0" in error messages from create mode. 2004-01-11 19:38:48 +00:00
named LANG->LC_ALL 2003-08-04 21:31:53 +00:00
named.reload
named.restart
ndc style.Makefile(5) 2003-04-04 17:49:21 +00:00
ndiscvt Add preliminary support for PCMCIA devices in addition to PCI/cardbus. 2004-03-07 02:49:06 +00:00
ndp Flush stdout when -A option is used. 2004-02-10 22:50:57 +00:00
newsyslog Move newsyslog.conf.5 to usr.sbin/newsyslog. There is no real history 2004-03-12 16:03:26 +00:00
nfsd Problem: 2004-01-11 01:29:03 +00:00
ngctl Get rid of all (but one in write.c) static size buffers. 2004-01-27 21:52:52 +00:00
nghook style.Makefile(5): 2004-02-23 20:25:27 +00:00
nologin Add standard copyright notice; fix style bugs. (Reported by bde) 2004-03-13 04:41:40 +00:00
nslookup style.Makefile(5) 2003-04-04 17:49:21 +00:00
nsupdate
ntp Add missing spaces after "logconfig" in example lines. 2004-03-13 09:51:43 +00:00
ofwdump This is Sparc64-only. 2004-01-21 14:06:25 +00:00
pccard o Document -s flag. 2004-01-15 13:23:21 +00:00
pciconf Update pciconf man page to indicate that only some of the functions 2004-01-06 20:23:20 +00:00
pcvt Call exit(0), not exit. 2003-04-29 19:53:00 +00:00
periodic The .Nm utility 2002-07-14 14:47:15 +00:00
pkg_install Add command line option for chrootdir, all pkg_add(8) operations will be 2004-03-01 21:58:21 +00:00
pnpinfo Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
ppp Use the length of the interface name, not the length of its address when 2004-01-21 22:00:50 +00:00
pppctl Apply s/LIBC_R/LIBPTHREAD/ to the DPADD variable. The LDADD variable 2004-01-31 17:28:09 +00:00
pppd o Now when the Cold War is ended we can confess our pppd(8) supports 2004-02-28 21:32:40 +00:00
pppstats
praliases Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
procctl Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
pstat Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
pw Shift file locking to source file instead of temp file. This fixes 2004-03-08 20:31:37 +00:00
pwd_mkdb Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
quot Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
quotaon Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
rarpd Make it clear that -a flag and interface parameter are mutually exclusive 2003-08-16 22:23:16 +00:00
raycontrol update for 802.11 support 2003-06-28 06:19:37 +00:00
repquota Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
rip6query The .Nm utility 2002-07-14 14:47:15 +00:00
rmt There is no need to #include <sgtty.h> 2003-09-04 01:33:43 +00:00
route6d - need_trigger/idx should be u_int, not ssize_t. 2003-11-14 17:16:50 +00:00
rpc.lockd Make rpc.lockd bind to a reserved port, since there are NFS clients 2004-03-04 15:52:28 +00:00
rpc.statd Deal with xdrproc_t casts. Make these compile cleanly with WARNS=2 2003-10-26 06:14:10 +00:00
rpc.umntall Deal with xdrproc_t casts. Make these compile cleanly with WARNS=2 2003-10-26 06:14:10 +00:00
rpc.yppasswdd Fix yppasswdproc_update_master_1_svc() too. 2003-06-15 21:24:45 +00:00
rpc.ypupdated Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
rpc.ypxfrd Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
rpcbind Don't pass NULL as an integer. 2003-10-29 09:31:41 +00:00
rrenumd fix comment. 2003-10-26 10:30:17 +00:00
rtadvd Fixed a misspelling of 0 as NULL. 2004-03-10 08:46:39 +00:00
rtprio add FBSDID 2003-07-06 12:44:11 +00:00
rtsold -DSMALL will remove the need of dump.c (for rtsol) 2004-01-14 17:59:38 +00:00
rwhod use a list to enumerate options 2003-07-06 12:27:52 +00:00
sa Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
sade Change libdisk and sysinstall to use d_addr_t rather than u_long for disk 2004-03-16 17:07:06 +00:00
sendmail Don't check for the existance of src/crypto/ for building items that 2003-07-24 18:30:25 +00:00
setfmac Add "-q" argument to setfmac and setfsmac to allow the patient but 2004-02-18 05:40:15 +00:00
setkey Fixed mispellings of '\0' as NULL. 2004-03-11 11:41:54 +00:00
setpmac mdoc(7) police: Scheduled sweep. 2003-02-24 22:53:26 +00:00
sicontrol mdoc(7) police: Deal with self-xrefs. 2002-12-24 13:41:48 +00:00
sliplogin Add section number to .Xr 2003-06-08 14:33:04 +00:00
slstat Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
spkrtest The .Nm utility 2002-07-14 14:47:15 +00:00
spray do not call clnt_spcreateerror nor clnt_sperror with a NULL pointer, instead 2002-07-15 18:53:52 +00:00
sysinstall Change libdisk and sysinstall to use d_addr_t rather than u_long for disk 2004-03-16 17:07:06 +00:00
syslogd Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
tcpdchk Turn on the extended syntax, which TCP_wrappers has by default, as 2003-07-24 19:58:56 +00:00
tcpdmatch Drop MAINTAINER bits from here. 2003-06-04 15:58:03 +00:00
tcpdump Don't check for the existance of src/crypto/ for building items that 2003-07-24 18:30:25 +00:00
timed Fix typo, s/transmitts/transmits/ 2004-02-04 21:59:29 +00:00
traceroute Update for traceroute 1.4a12 2002-07-28 02:27:07 +00:00
traceroute6 - setsockopt/sysctl takes int, not u_long. 2003-11-12 18:56:59 +00:00
trpt Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
tzsetup Cosmetic fix: a message was mixed with a dialog box border line. 2003-11-28 20:44:25 +00:00
ugidfw Add an 'add' command to ugidfw(8), which permits specifying a new 2004-02-25 03:59:56 +00:00
usbd fix spelling of ATTACH 2003-10-25 22:03:10 +00:00
usbdevs The .Nm utility 2002-07-14 14:47:15 +00:00
vidcontrol Propagate ioctl() failure to exit status 2003-09-18 16:20:32 +00:00
vipw Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
vnconfig
watch Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
watchdogd Rename the WATCHDOG option to SW_WATCHDOG and make it use the 2004-02-28 20:56:35 +00:00
wicontrol Typos fixing: 2003-10-05 12:09:31 +00:00
wlconfig This is i386-only. 2004-01-21 14:01:29 +00:00
yp_mkdb Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
ypbind Correct a spelling error. 2003-06-04 19:24:24 +00:00
yppoll Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
yppush Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
ypserv Eliminated two dozens of superfluous cats and two r-cats (sorry, Jordan). 2003-06-13 16:13:28 +00:00
ypset Fix a typo that stopped ypset's -h option from working with a 2004-02-09 00:10:18 +00:00
zic style.Makefile(5) 2003-04-04 17:49:21 +00:00
zzz add section name 2003-08-16 19:59:53 +00:00
Makefile The arlconfig is needed on i386 only. 2004-03-16 12:46:14 +00:00
Makefile.inc