This is "their" drive, no matter what I do. DFU firmware flash, you name it, this drive will stay, and it will not go away.
View attachment 2346603
I have managed before to get disk3 almsot entirely deleted, but the snapshot will never go away, no matter what i do.
seems to me like there is a launch agent, that is inside of the com.apple.recoveryosd that recreates it.
As soon as /dev/disk3 is delete, all of the files they need to "persist" go directly into disk0 , and stay there into the operating system is reinstalled.
So, this is where it becomes more clear that a non-trivial part of this is actually a giant mis-understanding of how modern Macs work. In short, nothing I see here is particularly concerning.
/dev/disk3 is not a
physical disk here, it's a
logical disk. What follows is at least as much for other readers as it is for the OP, and you can get a more complete picture of what's going on at
ecleticlight's article on the subject along with their other articles on how Apple's been evolving the filesystem in the last decade:
The only physical disk here is disk0. Inside it is 3 partitions:
- The ISC container which contains pre-boot data. Prior to Apple Silicon, much of this would live in firmware. But with Apple Silicon, this contains a couple different bits of software used to boot the system, as well as contain secure storage that the Secure Enclave uses.
- The Recovery container which contains the macOS recovery tools. Unlike Intel systems, this is a stand-alone recovery system that
is not coupled to the OS version.
- The APFS container is the actual system + user data. This container
is disk3, and is where everything the user interacts with lives.
The APFS container for a boot volume is multiple APFS volumes. These are not partitions in the classic sense, as each volume shares the same pool. So a container is the partition on the physical drive, and volumes are ways to organize things within the container.
When macOS boots, it boots a sealed snapshot of the OS volume (Macintosh HD in this case). This snapshot cannot be altered without breaking the seal (in principle at least), which will cause iBoot to halt the boot process. Because this snapshot is sealed and read-only, you need a R/W data volume to hold the user's actual data. This is the Data volume in the screenshot above. So really, when you boot an Arm Mac, you are booting the snapshot + an overlay of your Data volume.
But what about Preboot, Recovery, and VM? Recovery contains the '
paired recoveryOS' for that version of macOS that is installed. You'll get multiples of these if you install multiple OSes (say you created a new volume for Sonoma Betas while still running macOS 13 as your primary system), and it allows some of the more complex security options ARM Macs allow where you can set certain Startup Security settings
per OS install. A neat trick, but takes some duplicating of data. Preboot contains some additional bits of boot data that is held outside the sealed OS volume, with Ventura
it contains extra data to enable things like
rapid security responses. VM holds virtual memory caches.
Disk Utility intentionally protects these extra volumes as someone messing with them will cause problems. So it will seem a little unusual to run across them in the terminal when the GUI only shows the OS and Data volumes.
Do you guys constantly have a website that is open, even if you are offline and type localhost into your browser that says this? Is this a feature that mac has built in?
MacOS does include Apache, and it can be turned on.
The default webpage will show "It works!", and the file in question lives at /Library/Webserver/Documents/index.html.en. Can't say why Apache got enabled on your specific machine though. If you did some digging around '/private/etc/apache2/', you might be able to get more details on what virtual hosts have been created, or understand who enabled it. Stuff like Xcode Server will turn it on, for example.
Yeah, it's kinda unfortunate just how many interfaces get configured these days, even if they are all inactive 99% of the time, and only a couple are in use at a time.