opnsense-src/lib/libdisk
Marcel Moolenaar 89eaefd6eb Fix two bugs in the calculation of the last LBA of the GPT covered
part of the disk. The first appears to be a typo and instead of
dividing the media size with the sector size, we multiplied. The
second is an off-by-1 error that's the result of mixing up count
and index. The code in question is only applicable for virgin disks
and is used to create the "whole" chunk, which covers only the GPT
usable portion of the disk.
2003-11-03 06:24:48 +00:00
..
blocks.c Style(9) improvements. 2002-10-31 07:56:40 +00:00
change.c Fixed style(9) 2002-11-15 13:24:29 +00:00
chunk.c o In Print_Chunk(), don't print the address of the chunk on ia64. It 2003-11-02 07:44:59 +00:00
create_chunk.c o Move Int_Open_Disk() from disk.c to open_disk.c for use by all 2003-11-02 08:39:08 +00:00
disk.c o Move Int_Open_Disk() from disk.c to open_disk.c for use by all 2003-11-02 08:39:08 +00:00
libdisk.3 The .Nm library 2003-03-24 16:01:01 +00:00
libdisk.h o Move Int_Open_Disk() from disk.c to open_disk.c for use by all 2003-11-02 08:39:08 +00:00
Makefile o Move Int_Open_Disk() from disk.c to open_disk.c for use by all 2003-11-02 08:39:08 +00:00
open_disk.c o Move Int_Open_Disk() from disk.c to open_disk.c for use by all 2003-11-02 08:39:08 +00:00
open_ia64_disk.c Fix two bugs in the calculation of the last LBA of the GPT covered 2003-11-03 06:24:48 +00:00
rules.c Turn Track_Aligned(), Prev_Track_Aligned(), Next_Track_Aligned(), 2003-11-02 07:58:19 +00:00
tst01.c Compile-out support for allfreebsd, dedicate, sanitize and bios on 2003-11-02 08:01:18 +00:00
write_alpha_disk.c Use sized cast matching the sized pointer. 2003-04-04 16:59:39 +00:00
write_amd64_disk.c Libdisk does not need to include <sys/diskslice.h> any more. 2003-04-04 16:35:16 +00:00
write_disk.c Do not fill in d_ncylinders, d_ntracks and d_nsectors in the disklabel 2003-11-02 08:07:25 +00:00
write_i386_disk.c Libdisk does not need to include <sys/diskslice.h> any more. 2003-04-04 16:35:16 +00:00
write_ia64_disk.c Rewrite Write_Disk() so that it creates a GPT. Note that the code is 2003-11-03 03:18:34 +00:00
write_pc98_disk.c Libdisk does not need to include <sys/diskslice.h> any more. 2003-04-04 16:35:16 +00:00
write_sparc64_disk.c Fix compilation errors. 2003-04-22 05:34:35 +00:00