opnsense-src/lib/libdisk
Marcel Moolenaar 255bef40ce General cleanup:
o  Remove all code guarded by !defined(__ia64__). This file is
   specifically written for ia64,
o  Handle the case when read_block() or write_block() fails. We
   don't want sysinstall(8) to signal a thumbs-up on error,
o  Set the starting (cyl,hd,sect) triple to 0xFFFFFF when either
   bios_hd or bios_sect is zero or the LBA us not representable
   with the triple. In that case automaticly initialize the
   ending triple with 0xFFFFFF as well,
o  Reindent Write_Int32() as it was different than the rest of
   the file,
o  Remove some unused variables that appeared to be used but
   were effectively useless.
o  Plug a memory leak: The second timne we read the MBR, we write
   out a modified block, but didn't free the memory after writing.
o  Replace d1->sector_size with 512 when we read/write the MBR.
   We ignore the sector size in cases we shouldn't but adhered to
   it in cases it would be wrong if the sector_size wasn't 512.

This file should eventually be rewritten to write out a GPT. For
now, a MBR will do...
2002-11-10 20:47:02 +00:00
..
blocks.c Style(9) improvements. 2002-10-31 07:56:40 +00:00
change.c Live with it: I had hoped to find a neat way to deal with all the magic 2002-10-22 11:55:27 +00:00
chunk.c Fixed pc98 support. 2002-11-07 14:54:53 +00:00
create_chunk.c the 'd' partition hasn't been magic for years, so allocate it in natural 2002-10-29 07:37:11 +00:00
disk.c - Recognize FAT partition on MBR and PC98 disks. 2002-11-08 15:25:15 +00:00
libdisk.3 Swing the weed-whacker around libdisk: 2002-10-22 09:13:02 +00:00
libdisk.h Since make release is toast anyway, add wood to the pyre: 2002-10-29 12:13:36 +00:00
Makefile Use ${MACHINE} variable instead of using '.if .endif' each machines. 2002-10-31 05:43:49 +00:00
rules.c Restore to pc98 support. 2002-10-31 05:51:25 +00:00
tst01.c Fix to compile for pc98. 2002-11-03 09:35:08 +00:00
write_alpha_disk.c - Merge Write_FreeBSD() into Write_Disk(). 2002-11-08 13:58:00 +00:00
write_amd64_disk.c Don't set a variable to a bogus value right before setting it to the 2002-11-08 14:00:44 +00:00
write_disk.c Untangle #ifdefs in the write-end of things by giving each arch its 2002-10-23 19:52:32 +00:00
write_i386_disk.c Don't set a variable to a bogus value right before setting it to the 2002-11-08 14:00:44 +00:00
write_ia64_disk.c General cleanup: 2002-11-10 20:47:02 +00:00
write_pc98_disk.c MFi386: revision 1.4. 2002-11-08 14:49:14 +00:00
write_sparc64_disk.c Fill in partition 2 with with "whole disk" parameters. 2002-11-01 16:28:19 +00:00