freebsd-skq/usr.sbin/sysinstall
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
..
help Re-linewrap help file on securelevels in sysinstall: sysinstall is 2003-12-16 22:55:28 +00:00
anonFTP.c Fixed assorted misuses of NULL in integer context. 2004-03-11 11:58:16 +00:00
cdrom.c Check correct machine name. 2002-10-14 13:02:30 +00:00
command.c debugMsg() should end with "\n". 2002-11-01 02:05:05 +00:00
config.c I think we can stop doing 'ldconfig -aout' during the install now. 2004-01-02 09:33:58 +00:00
devices.c Add 'fwe' so one doesn't get "<unknown network interface type>". 2004-01-04 21:04:02 +00:00
dhcp.c Fixed assorted misuses of NULL in integer context. 2004-03-11 11:58:16 +00:00
disks.c Change libdisk and sysinstall to use d_addr_t rather than u_long for disk 2004-03-16 17:07:06 +00:00
dispatch.c Remove the vestiges of the old pre-"X_AS_PKG" way we used to handled the 2003-08-19 23:23:27 +00:00
dist.c Remove unused variables. 2004-03-11 18:50:05 +00:00
dist.h - Renumber the skerberos4 dist to fill in the gaps left when krb4 was axed. 2003-10-24 20:55:15 +00:00
dmenu.c Fix 3 'cast to pointer from integer of different size' warnings. 2003-09-17 03:45:30 +00:00
doc.c s/package_exists/package_installed/g as that's much more descriptive of 2004-01-02 09:19:13 +00:00
dos.c
floppy.c Use snprintf() instead of sprintf(). 2002-10-14 13:04:21 +00:00
ftp.c The MACHINE variable on pc98 is "i386". So, use "pc98" directly in PC98 case. 2002-10-14 13:06:13 +00:00
globals.c
http.c debugMsg() should end with "\n". 2002-11-01 02:05:05 +00:00
index.c I missed a s/package_exists/package_installed/ in the last commit. 2004-01-02 09:52:49 +00:00
install.c Remove unused variables. 2004-03-11 18:50:05 +00:00
install.cfg
installUpgrade.c KerberosIV deorbit sequence: Un-teach sysinstall about KerberosIV. I'm 2003-03-08 12:07:13 +00:00
keymap.c
label.c Change libdisk and sysinstall to use d_addr_t rather than u_long for disk 2004-03-16 17:07:06 +00:00
list.h
main.c The PCMCIA Standard dictates that those funny cards you insert into 2003-08-20 06:27:21 +00:00
Makefile Add Greek keymaps to sysinstall. 2003-11-20 20:43:06 +00:00
media.c - Increase the maximum device name length. 2003-02-27 03:57:17 +00:00
menus.c Fixed assorted misuses of NULL in integer context. 2004-03-11 11:58:16 +00:00
misc.c save_realloc() should use reallocf() to close memory leaks. 2003-01-06 17:11:46 +00:00
modules.c Add a new variable 'skipPCCARD'. This variable will cause sysinstall 2003-08-20 06:24:12 +00:00
mouse.c
msg.c
network.c debugMsg() should end with "\n". 2002-11-01 02:05:05 +00:00
nfs.c Various NFS-related bug fixes (mostly related to using variable_get() 2003-10-19 13:37:12 +00:00
options.c Various NFS-related bug fixes (mostly related to using variable_get() 2003-10-19 13:37:12 +00:00
package.c s/package_exists/package_installed/g as that's much more descriptive of 2004-01-02 09:52:14 +00:00
pccard.c The PCMCIA Standard dictates that those funny cards you insert into 2003-08-20 06:27:21 +00:00
rtermcap.c
sysinstall.8 The "bin" distribution was renamed to "base" in CURRENT. 2004-02-07 00:34:11 +00:00
sysinstall.h Fixed assorted misuses of NULL in integer context. 2004-03-11 11:58:16 +00:00
system.c Fixed assorted misuses of NULL in integer context. 2004-03-11 11:58:16 +00:00
tape.c debugMsg() should end with "\n". 2002-11-01 02:05:05 +00:00
tcpip.c Unremoved a used variable in the PCCARD_ARCH case. 2004-03-12 15:28:13 +00:00
termcap.c
ttys.c
ufs.c
usb.c
user.c Fixed assorted misuses of NULL in integer context. 2004-03-11 11:58:16 +00:00
variable.c Fixed assorted misuses of NULL in integer context. 2004-03-11 11:58:16 +00:00
wizard.c Fix the wizardmodes 'write' command to not explode: Don't reference 2002-10-28 22:40:49 +00:00