man page for fstab does not acknowledge APFS file system
Originator: | cpragman | ||
Number: | rdar://37195815 | Date Originated: | 2/3/2018 |
Status: | Open | Resolved: | |
Product: | MacOS + SDK | Product Version: | 10.13.3 |
Classification: | Bug | Reproducible: | always |
Area: Something not on this list Summary: I have a couple of extra partitions (some on internal boot disk, some on external firewire disk) that I use infrequently for troubleshooting and recovery. During everyday use, I don't want to see these on my desktop, I don't want the computer's other users to see them, I don't want them mounted (to decrease the chances of anything going wrong with them), and I don't want spotlight indexing them. This was handled easily in the past by adding a line to /etc/fstab per the fstab man page to prevent them from mounting. example: # Prevent 10.12 Sierra Crisis UUID=F1964B8C-66C7-30E6-9408-0F0BA95EEA35 none hfs rw,noauto Today, I updated one of my crisis disks to 10.13.3 High Sierra. Since the crisis disk was on my internal SSD, the mac osX installer also quietly converted the crisis disk from HFS to APFS. After rebooting, the crisis disk is now auto mounting on my desktop. I got the new UUID and added a line to my fstab to prevent it from auto mounting. Rebooted and it auto mounted again! That's not supposed to happen! I noticed that it was now APFS instead of HFS, so I tried changing the fstab entry to reflect APFS instead of HFS. This worked. Example: # prevent new APFS Crisis disk # UUID=E34C2499-2461-39D0-B462-E18514490EEC none apfs rw,noauto The only problem was I first wasted a lot of time in trial-and-error, because there is no mention in the man page for fstab what to do with APFS volumes. Reading the man page for fstab, I see that the man page does not acknowledge the existence of the APFS file system at all. That seems like an oversight. Steps to Reproduce: N/A Expected Results: N/A Actual Results: N/A Version/Build: Mac OS 10.13.3. Configuration:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!