freebsd-dev/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
anonFTP.c Fixed assorted misuses of NULL in integer context. 2004-03-11 11:58:16 +00:00
cdrom.c
command.c
config.c
devices.c
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
dist.c Remove unused variables. 2004-03-11 18:50:05 +00:00
dist.h
dmenu.c
doc.c
dos.c
floppy.c
ftp.c
globals.c
http.c
index.c
install.c Remove unused variables. 2004-03-11 18:50:05 +00:00
install.cfg
installUpgrade.c
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
Makefile
media.c
menus.c Fixed assorted misuses of NULL in integer context. 2004-03-11 11:58:16 +00:00
misc.c
modules.c
mouse.c
msg.c
network.c
nfs.c
options.c
package.c
pccard.c
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
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