Hi guys, I have a question because I’m really conf...
# macos
g
Hi guys, I have a question because I’m really confused. I’ve enabled FileVault in a bunch of computers. Some computers have a partition called “/Volumes/Macintosh HD - Data” or even “ … Data - Data” or other names. What I’m trying to achieve is to get all the MacBook fully encrypted. Despite FileVault is enabled, those partitions report as “FileVault: No”. I don’t know if FileVault encrypt the whole container or volume and I have to consider as “encrypted”. I have other Macs with volumes that are reported as “FileVault: Yes” so probably something is not working as expected or I’m missing something. Any help?
I’m getting the information using: Diskutil apfs list Diskutil info {{disk}}
f
i can't speak to macos internals or whether or not filevault is correctly configured on your machine but you can use this to at least surface the information from the mounts + device_encryption tables to return it all in a neat format:
Copy code
SELECT m.*, de.encrypted, de.encryption_status, de.filevault_status FROM disk_encryption de JOIN mounts m WHERE device = name;
this article is old and macos changes frequently so the info may not be applicable anymore: https://discussions.apple.com/thread/8335752
a
Data is the r/w volume where apps and users go, the other volumes you should think of as implementation details that are 'sealed' (from Apple's perspective' and can't be tampered, so
g
@FG thanks for your query, but I also see the problem running the commands directly in the terminal. @allister I understand that, but, if I run diskytil apfs list and I see that “/Volumes/Macintosh HD - Data” said “FileVault: No”, that means that the disk is not encrypted right ?
a
Copy code
% fdesetup status
FileVault is On.
fdesetup
will tell you if the Data volume connected to the currently booted OS is encrypted, if you only want the boot volume
Copy code
SELECT m.*, de.encrypted, de.encryption_status, de.filevault_status FROM disk_encryption de JOIN mounts m WHERE device = name AND path = "/";
should work
the 'FULL' disk cannot be encrypted on Apple devices since… 2017-ish? A 3rd party vendor can't get access to the hardware controller, so it's FileVault or the highway
while there COULD be multiple writable volumes and some COULD not be encrypted, that's probably not a useful threat model
as of Apple Silicon you can't even (easily) dual-boot anything except 1. other macOS versions or 2. linux built for arm, so it would be a real corner case to search for/be concerned with
g
Ey allister thanks for all the information, really appreciate your help 🤗
👍 1