mirror of
https://github.com/apple/container.git
synced 2026-09-12 02:35:42 +00:00
Match Mount default cache/sync to container defaults. (#446)
- Use `cache=auto`, `sync=fsync` as default everywhere.
This commit is contained in:
@@ -164,7 +164,7 @@ extension Mount {
|
||||
extension VZDiskImageStorageDeviceAttachment {
|
||||
static func mountToVZAttachment(mount: Mount, options: [String]) throws -> VZDiskImageStorageDeviceAttachment {
|
||||
var cachingMode: VZDiskImageCachingMode = .automatic
|
||||
var synchronizationMode: VZDiskImageSynchronizationMode = .none
|
||||
var synchronizationMode: VZDiskImageSynchronizationMode = .fsync
|
||||
|
||||
for option in options {
|
||||
let split = option.split(separator: "=")
|
||||
|
||||
Reference in New Issue
Block a user