Age | Commit message (Collapse) | Author |
|
ok bluhm@ sthen@ mpi@
|
|
Don't flag the EFI SYS partition "DOSACTIVE". Leave that status
to the OpenBSD partition. Reverts part of r1.77.
Problem reported and fix tested by Mihai Popescu. Thanks!
Cluebats from deraadt@ and code bisecting by dv@.
ok kettenis@
|
|
Previously only the provider's display name was used. The text used depends
on how the SIM is configured and not just on the network in use (for example,
an MVNO SIM on another network will often display the MVNO's name rather
than that of the underlying network).
I have a SIM that roams to any network in my country - whichever network
it roams onto, the display name is the same, so you can't tell which
network you're really using. By printing the provider ID (in GSM-land this
is MCC+MNC) it's easy to lookup and check this.
As the provider was printed on the ifconfig line also showing subscriber-id
and ICCID it was already a bit long, and adding the provider-id there is
a bit too much, so move it to the output line showing APN, now looking like
: subscriber-id 2400xxxxxxxxxxx ICC-id 8946203xxxxxxxxxxxxx
: device EM7455 IMEI 01458xxxxxxxxxx firmware SWI9X30C_02.24.0
: APN key provider Tele2 IoT provider-id 23420
|
|
undocumented macro alias X509_name_cmp(3);
no binary change;
OK tb@
|
|
data not being accessible.
From Claudia Priesterjahn @ achelos
ok patrick@
|
|
partition table is changed. Not the GPT header. Not the MBR. And
only write back as much partition table information as the header
claims to have room for.
At a minimum should make -A safer when operating on the Apple M1
GPT.
A major overhaul of this code is urgently needed before someone
sneezes too hard in its vicinity.
Feedback kettenis@ & ok deraadt@
|
|
far better in the manual pages
ok jmc
|
|
BLOCKALIGNMENT. This will make it more obvious where this
512-byte block count could/should be converted to a disk sector
count.
No functional change.
|
|
remove -DSEEALSO, as suggested by millert
ok millert
|
|
Tweak man page.
|
|
printing for route flags.
ok markus@
|
|
ok markus@
|
|
|
|
lowercase for "usage", and add -e, which was missing;
ok kettenis
|
|
counts.
Tweak man page accordingly.
Requested by deraadt@ and kettenis@.
|
|
While here fix a misplaced '(' to make this nitems the same as
all its friends.
Pointed out by okan@
|
|
special boot partitions needed by some hardware. Make it
difficult to add, delete or modify those partitions with 'fdisk
-e'.
Trim back and correct syntax in usage(). Whack at man page
verbiage.
Suggestions and ok deraadt@
|
|
would have been written this way because of the old args limit, but the
extensions to -b expose a nasty line wrap when written that way;
|
|
|
|
Extend the syntax to allow the boot partition offset and boot
partition type to be specified if needed.
ok deraadt@ kettenis@
|
|
file for the installer.
|
|
|
|
address before checking sa_addrpool. Fixes a bug where no flows are added
if a single address instead of a pool is configured in config address.
Reported by Sebastien Leclerc
ok patrick@
|
|
editing commnd completely remove any existing on-disk GPT header
when writing the MBR.
'-ig'/'reinit gpt' must be used to create GPT format.
Previous interactions between '-i', '-b' and overly clever
'reinit' produced surprising, inconsistent and incorrect
behaviour.
ok deraadt@ kettenis@
|
|
in previous.
|
|
For this we need to be able to handle multiple routes being sent from
the engine to the main process as well as to the control tool.
The configuration of the various cases (default route, directly
connected routes, non-default route via a gateway) was inspired by
dhclient's set_routes() and should behave the same way.
Tested by Uwe Werler
|
|
couple of places but never checked. Retire it.
No functional change.
|
|
inadvertantly got lost.
Restore merciless zapping of gpt header & partition entries when
'-i -g' or 'reinit [gpt]' are invoked.
|
|
Pointed out by kettenis@
|
|
changed, thus keeping the modified indicator correct and avoiding
early bailout when editing a gpt partition w/o changing the type.
|
|
and mark the partition dirty only if something changed.
More aligned with gedit() and safer when invoked directly from
Xsetpid().
|
|
|
|
past the address where alternate partition entries would be
written.
Just adjust the GPT header value (gh_lba_end) to the highest safe
value and carry on.
Issue encountered in the wild by mlarkin@ while accessing some
disk images.
ok deraadt@
|
|
|
|
code from GPT_init() into init_gh().
|
|
Seen on SiFive Unmatched stock image provided by mlarkin@.
|
|
Restore original gh/gp if initialization fails.
No other functional change.
|
|
in gpt.c. Move declarations and rename to get_header() and
get_partition_table().
No functional change.
|
|
'-b' option is specified. GPT is no longer a __i386__/__amd64__
thing.
ok kettenis@
|
|
with EFI SYS and OpenBSD partitions. Replaces some barbarian
direct whacking of GPT.
ok kettenis@
|
|
the number of bytes of partition entries to write to disk.
Set gpbytes to 'sizeof(gp)' so no functional change for now.
|
|
|
|
chunk of free space in a GPT. Steal logic from
GPT_get_lba_start().
No intentional functional change.
|
|
Reduce Xedit()/Xsetpid() to parsing the partition number and
invoking [g]edit()/[g]setpid() appropriately.
No intentional functional change.
|
|
partition information when one of the modification steps (e.g.
setting the partition type via gsetpid()) fails.
|
|
Fixes a regression found by landry@.
ok patrick@
|
|
a parsed number to the helper functions gedit() and gsetpid().
No functional change.
|
|
|
|
No intentional funtional change.
|
|
simplify the code.
No intentional funtional change.
|