freebsd-skq/lib/libdisk
jhb b7e56e9eea 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
..
blocks.c
change.c
chunk.c Change libdisk and sysinstall to use d_addr_t rather than u_long for disk 2004-03-16 17:07:06 +00:00
create_chunk.c Change libdisk and sysinstall to use d_addr_t rather than u_long for disk 2004-03-16 17:07:06 +00:00
disk.c
libdisk.3 Change libdisk and sysinstall to use d_addr_t rather than u_long for disk 2004-03-16 17:07:06 +00:00
libdisk.h Change libdisk and sysinstall to use d_addr_t rather than u_long for disk 2004-03-16 17:07:06 +00:00
Makefile
open_disk.c Change libdisk and sysinstall to use d_addr_t rather than u_long for disk 2004-03-16 17:07:06 +00:00
open_ia64_disk.c
rules.c Change libdisk and sysinstall to use d_addr_t rather than u_long for disk 2004-03-16 17:07:06 +00:00
tst01.c
write_alpha_disk.c
write_amd64_disk.c
write_disk.c
write_i386_disk.c
write_ia64_disk.c
write_pc98_disk.c
write_sparc64_disk.c