| OLD | NEW |
| 1 .\" Copyright (c) 2002 Marcel Moolenaar | 1 .\" Copyright (c) 2002 Marcel Moolenaar |
| 2 .\" All rights reserved. | 2 .\" All rights reserved. |
| 3 .\" | 3 .\" |
| 4 .\" Redistribution and use in source and binary forms, with or without | 4 .\" Redistribution and use in source and binary forms, with or without |
| 5 .\" modification, are permitted provided that the following conditions | 5 .\" modification, are permitted provided that the following conditions |
| 6 .\" are met: | 6 .\" are met: |
| 7 .\" | 7 .\" |
| 8 .\" 1. Redistributions of source code must retain the above copyright | 8 .\" 1. Redistributions of source code must retain the above copyright |
| 9 .\" notice, this list of conditions and the following disclaimer. | 9 .\" notice, this list of conditions and the following disclaimer. |
| 10 .\" 2. Redistributions in binary form must reproduce the above copyright | 10 .\" 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 .Fl r | 76 .Fl r |
| 77 option causes the | 77 option causes the |
| 78 .Nm | 78 .Nm |
| 79 utility to open the device for reading only. | 79 utility to open the device for reading only. |
| 80 Currently this option is primarily useful for the | 80 Currently this option is primarily useful for the |
| 81 .Ic show | 81 .Ic show |
| 82 command, but the intent | 82 command, but the intent |
| 83 is to use it to implement dry-run behaviour. | 83 is to use it to implement dry-run behaviour. |
| 84 .Pp | 84 .Pp |
| 85 The | 85 The |
| 86 .Fl S |
| 87 option causes the |
| 88 .Nm |
| 89 utility to open the device for writing in shared mode. The |
| 90 default is to open in exclusive (O_EXCL) mode. |
| 91 .Pp |
| 92 The |
| 86 .Fl v | 93 .Fl v |
| 87 option controls the verbosity level. | 94 option controls the verbosity level. |
| 88 The level increases with every occurrence of this option. | 95 The level increases with every occurrence of this option. |
| 89 There is no formalized definition of the different levels yet. | 96 There is no formalized definition of the different levels yet. |
| 90 .Ss Commands | 97 .Ss Commands |
| 91 .Bl -tag -width indent | 98 .Bl -tag -width indent |
| 92 .\" ==== add ==== | 99 .\" ==== add ==== |
| 93 .It Xo | 100 .It Xo |
| 94 .Nm | 101 .Nm |
| 95 .Ic add | 102 .Ic add |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 .Cm boot , efi , swap , ufs , zfs , hfs , linux | 140 .Cm boot , efi , swap , ufs , zfs , hfs , linux |
| 134 and | 141 and |
| 135 .Cm windows | 142 .Cm windows |
| 136 as aliases for the most commonly used partition types. | 143 as aliases for the most commonly used partition types. |
| 137 .\" ==== boot ==== | 144 .\" ==== boot ==== |
| 138 .It Xo | 145 .It Xo |
| 139 .Nm | 146 .Nm |
| 140 .Ic boot | 147 .Ic boot |
| 141 .Op Fl b Ar pmbr | 148 .Op Fl b Ar pmbr |
| 142 .Op Fl g Ar gptboot | 149 .Op Fl g Ar gptboot |
| 150 .Op Fl i Ar index |
| 143 .Op Fl s Ar count | 151 .Op Fl s Ar count |
| 144 .Ar device ... | 152 .Ar device ... |
| 145 .Xc | 153 .Xc |
| 146 The | 154 The |
| 147 .Ic boot | 155 .Ic boot |
| 148 command allows the user to make a GPT labeled disk bootable via the BIOS | 156 command allows the user to make a GPT labeled disk bootable via the BIOS |
| 149 bootstrap on i386 and amd64 machines. | 157 bootstrap on i386 and amd64 machines. |
| 150 By default, | 158 By default, |
| 151 the | 159 the |
| 152 .Pa /boot/pmbr | 160 .Pa /boot/pmbr |
| 153 boot loader is installed into the PMBR and the | 161 boot loader is installed into the PMBR and the |
| 154 .Pa /boot/gptboot | 162 .Pa /boot/gptboot |
| 155 boot loader is installed into the first boot partition. | 163 boot loader is installed into the first boot partition. |
| 156 If no boot partition exists and there is available space, | 164 If no boot partition exists and there is available space, |
| 157 a boot partition will be created. | 165 a boot partition will be created. |
| 158 .Pp | 166 .Pp |
| 159 The | 167 The |
| 160 .Fl b Ar pmbr | 168 .Fl b Ar pmbr |
| 161 option allows the user to specify an alternate path for the PMBR boot loader. | 169 option allows the user to specify an alternate path for the PMBR boot loader. |
| 162 .Pp | 170 .Pp |
| 163 The | 171 The |
| 164 .Fl g Ar gptboot | 172 .Fl g Ar gptboot |
| 165 option allows the user to specify an alternate path for the GPT boot loader | 173 option allows the user to specify an alternate path for the GPT boot loader |
| 166 that is installed into the boot partition. | 174 that is installed into the boot partition. |
| 167 .Pp | 175 .Pp |
| 168 The | 176 The |
| 177 .Fl i Ar index |
| 178 option allows the user to specify which (valid) entry in the GPT table is to |
| 179 be selected for booting. |
| 180 .Pp |
| 181 The |
| 169 .Fl s Ar count | 182 .Fl s Ar count |
| 170 option allows the user to specify the size in sectors of the boot partition | 183 option allows the user to specify the size in sectors of the boot partition |
| 171 if one does not already exist. | 184 if one does not already exist. |
| 172 A boot partition must be at least 16 kilobytes. | 185 A boot partition must be at least 16 kilobytes. |
| 173 By default, | 186 By default, |
| 174 a size of 64 kilobytes is used. | 187 a size of 64 kilobytes is used. |
| 175 Note that the PMBR boot loader will load the entire boot partition into | 188 Note that the PMBR boot loader will load the entire boot partition into |
| 176 memory. | 189 memory. |
| 177 As a result, the boot partition may not exceed 545 kilobytes. | 190 As a result, the boot partition may not exceed 545 kilobytes. |
| 178 .\" ==== create ==== | 191 .\" ==== create ==== |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 .Fl p Ar count | 380 .Fl p Ar count |
| 368 option may be changed to a command option rather than a generic option. | 381 option may be changed to a command option rather than a generic option. |
| 369 There are only two commands that use it so there is a chance that the natural | 382 There are only two commands that use it so there is a chance that the natural |
| 370 tendency for people is to use it as a command option. | 383 tendency for people is to use it as a command option. |
| 371 Also, options primarily intended for diagnostic or debug purposes may be | 384 Also, options primarily intended for diagnostic or debug purposes may be |
| 372 removed in future versions. | 385 removed in future versions. |
| 373 .Pp | 386 .Pp |
| 374 Another possibility is that the current usage model is accompanied by | 387 Another possibility is that the current usage model is accompanied by |
| 375 other interfaces to make the tool usable as a back-end. | 388 other interfaces to make the tool usable as a back-end. |
| 376 This all depends on demand and thus feedback. | 389 This all depends on demand and thus feedback. |
| OLD | NEW |