Skip to content

Commit 6d548a0

Browse files
authored
Match Mount default cache/sync to container defaults. (#446)
- Use `cache=auto`, `sync=fsync` as default everywhere.
1 parent 7962dae commit 6d548a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Containerization/Mount.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ extension Mount {
164164
extension VZDiskImageStorageDeviceAttachment {
165165
static func mountToVZAttachment(mount: Mount, options: [String]) throws -> VZDiskImageStorageDeviceAttachment {
166166
var cachingMode: VZDiskImageCachingMode = .automatic
167-
var synchronizationMode: VZDiskImageSynchronizationMode = .none
167+
var synchronizationMode: VZDiskImageSynchronizationMode = .fsync
168168

169169
for option in options {
170170
let split = option.split(separator: "=")

0 commit comments

Comments
 (0)