'APFS' Articles

APFS Bug in macOS High Sierra Can Cause Data Loss When Writing to Disk Images

Apple's APFS file system included in macOS High Sierra suffers from a disk image vulnerability that in certain circumstances can lead to data loss, according to the creator of Carbon Copy Cloner. In a blog post last Thursday, software developer Mike Bombich explained that he had uncovered the data writing flaw in the Apple File System, or APFS, through his regular work with "sparse" disk images. For those who aren't familiar with the term, a sparse disk image is basically a file that macOS mounts on the desktop and treats as if it was a physically attached drive with a classic disk volume structure. The flexibility of sparse disk images means they are commonly used in the course of performing backup and disk cloning operations, hence Bombich's extensive experience with them. Earlier this week I noticed that an APFS-formatted sparsebundle disk image volume showed ample free space, despite that the underlying disk was completely full. Curious, I copied a video file to the disk image volume to see what would happen. The whole file copied without error! I opened the file, verified that the video played back start to finish, checksummed the file – as far as I could tell, the file was intact and whole on the disk image. When I unmounted and remounted the disk image, however, the video was corrupted. If you've ever lost data, you know the kick-in-the-gut feeling that would have ensued. Thankfully, I was just running some tests and the file that disappeared was just test data. Two related problems are identified by Bombich, above. The first is that the free space on the

Disk Utility Bug in macOS High Sierra Exposes Passwords of Encrypted APFS Volumes in Plain Text [Updated]

Brazilian software developer Matheus Mariano appears to have discovered a significant Disk Utility bug that exposes the passwords of encrypted Apple File System volumes in plain text on macOS High Sierra. MacRumors confirmed our test password "dontdisplaythis" appeared as the hint Mariano added a new encrypted APFS volume to a container, set a password and hint, and unmounted and remounted the container in order to force a password prompt for demonstration purposes. Then, he clicked the "Show Hint" button, which revealed the full password in plain text rather than the hint. A second video with English system language is embedded below MacRumors reproduced this behavior on a 2016 MacBook Pro running macOS High Sierra, including versions 10.13 and 10.13.1 beta. German software developer Felix Schwarz also shared a video of the issue on Twitter today. Tried myself & it's true: #HighSierra shows the #APFS volume password as hint. Persists reboots, not stored in keychain. Wow. Just wow. pic.twitter.com/FkcHI9KHl9— Felix Schwarz (@felix_schwarz) October 5, 2017 The issue currently only affects Macs with SSD storage due to Apple File System compatibility, but APFS will eventually support machines with Fusion Drives as well. Schwarz believes users who haven't specified a password hint, or haven't used Disk Utility whatsoever, are probably not affected. For clarity, this appears to be a bug within Disk Utility itself. When creating an encrypted APFS volume in Terminal with the diskutil command line utility, the actual hint is shown, rather than the password. Mariano

Apple's Craig Federighi Confirms APFS Coming to Fusion Drives in a Future macOS High Sierra Update

The initial version of macOS High Sierra released this morning limits the new Apple File System (APFS) to Macs that have all-flash built-in storage, excluding iMacs and Mac mini machines that feature Fusion Drives. Apple announced the limitation last week in a support document that said the initial release would not allow Fusion Drives to be converted to APFS, implying future support, and now Apple software engineering chief Craig Federighi has confirmed APFS will indeed be coming to Fusion Drives in a later update. Federighi shared the info in an email sent to MacRumors reader Michiel, who asked if APFS would be added later. "Yes, we plan to add support in a future update," replied Federighi. Fusion Drives, available as a storage option for Apple's iMac and Mac mini desktop machines, combine a hard drive with flash storage to provide the speed of an SSD with the affordability of a standard hard drive. Frequently accessed files are stored using flash storage, while less frequently used files are moved to the hard drive. The first macOS High Sierra beta released in June did include support for Fusion Drives and converted iMacs and Mac minis to APFS, but support was removed in subsequent betas and was not reimplemented, presumably due to stability problems and bugs with the feature. Apple File System is a more modern file system than HFS+ and is optimized for solid state drives. It is safe and secure, offering crash protection, safe document saves, stable snapshots, simplified backups, and strong native encryption. Developers who happened to install

Google Backup and Sync App Updated With APFS Support for Macs Running High Sierra

Google this morning quietly updated its Backup and Sync client app with APFS support for Macs running the latest macOS High Sierra beta. The change, first spotted by Piunikaweb, means users of Google Drive and Google Photos can now take advantage of the new Apple File System (APFS), which was introduced in High Sierra. APFS replaces HFS+ and unifies the file system across macOS, iOS, tvOS, and watchOS, meaning it's optimized for devices that use flash and solid-state storage. Google's new Backup and Sync client app was broken by the OS change, and some High Sierra users resorted to moving their Google Drive to an external disk formatted to HFS+ to allow their files to sync again. However, that step should no longer be necessary with Backup and Sync version 3.36. Users can take advantage of the new APFS support by either downloading the Google app anew or waiting for their client to auto-update sometime in the next week. Google Backup and Sync for Google Photos and Google Drive is a free download for