Print this page
12743 man page spelling mistakes

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3ext/efi_alloc_and_init.3ext
          +++ new/usr/src/man/man3ext/efi_alloc_and_init.3ext
   1    1  '\" te
   2    2  .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.
   3    3  .\" Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
   4    4  .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   5    5  .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   6    6  .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   7      -.TH EFI_ALLOC_AND_INIT 3EXT "November 20, 2019"
        7 +.TH EFI_ALLOC_AND_INIT 3EXT "May 16, 2020"
   8    8  .SH NAME
   9    9  efi_alloc_and_init, efi_alloc_and_read, efi_free, efi_write, efi_use_whole_disk,
  10   10  efi_reserved_sectors \- manipulate a disk's EFI Partition Table
  11   11  .SH SYNOPSIS
  12   12  .nf
  13   13  cc [ \fIflag \&.\|.\|.\fR ] \fIfile\fR\&.\|.\|. \fB-lefi\fR [ \fIlibrary \&.\|.\|.\fR ]
  14   14  #include <sys/vtoc.h>
  15   15  #include <sys/efi_partition.h>
  16   16  
  17   17  \fBint\fR \fBefi_alloc_and_init\fR(\fBint\fR \fIfd\fR, \fBuint32_t\fR \fInparts\fR, \fBdk_gpt_t **\fR\fIvtoc\fR);
↓ open down ↓ 75 lines elided ↑ open up ↑
  93   93  uint_t          efi_lbasize;     /* size of block in bytes */
  94   94  diskaddr_t      efi_last_lba;    /* last block on the disk */
  95   95  diskaddr_t      efi_first_u_lba; /* first block after labels */
  96   96  diskaddr_t      efi_last_u_lba;  /* last block before backup labels */
  97   97  struct dk_part  efi_parts[];     /* array of partitions */
  98   98  .fi
  99   99  .in -2
 100  100  
 101  101  .SS "Protective Master Boot Record"
 102  102  When a disk receives an EFI label, a protective MBR (\fBPMBR\fR) is also
 103      -written containing a single partiton of type \fBEEh\fR and spanning the
      103 +written containing a single partition of type \fBEEh\fR and spanning the
 104  104  entire disk (up to the limit of what can be represented in an MBR). By
 105  105  default that partition is placed in slot 0 of the PMBR and not marked as
 106  106  active. Some BIOS implementations contain bugs that require the entry to be
 107  107  placed into a different slot or to be made active in order for the system
 108  108  to boot successfully. The default behaviour is modified for systems with known
 109  109  firmware bugs, refer to \fB/usr/share/hwdata/efi.fixes\fR for more
 110  110  information.
 111  111  
 112  112  .SH RETURN VALUES
 113  113  Upon successful completion, \fBefi_alloc_and_init()\fR returns 0. Otherwise it
↓ open down ↓ 135 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX