Trying to replicate the
gpt option on this post How to examine disks and their partitions via terminal?
sudo gpt -r show disk0
what I get is:
gpt show: unable to open device 'disk0': Operation not permitted
This is supposed to be an inoffensive reading action. How is not allowed?
How can it be done? (I read there are other third party tools that can overcome this issue, but I want to use native
/dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.3 GB disk0 1: EFI EFI 314.6 MB disk0s1 2: Apple_APFS Container disk1 500.0 GB disk0s2